-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update with latest changes from
develop
(#246)
- Updating doc examples - Update plot conditions method - Fix github action builds
- Loading branch information
Showing
28 changed files
with
291 additions
and
484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "EEG-ExPy-CPU", | ||
"image": "mcr.microsoft.com/devcontainers/python:3.8", | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-python.python" | ||
], | ||
"settings": { | ||
"python.pythonPath": "/usr/local/bin/python" | ||
} | ||
} | ||
}, | ||
|
||
"forwardPorts": [ | ||
8000, | ||
8888, | ||
5000, | ||
6000 | ||
], | ||
// print the python version: | ||
"postCreateCommand": "python --version && pip install -r requirements.txt && pip install -e . && echo 'Dependencies installed'", | ||
"appPort": 8000 | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
build: | ||
# Use pep517 to install pygatt==4.0.5(deprecated setuptools/egg installer) on macos | ||
pip install --use-pep517 . | ||
|
||
test: | ||
pytest | ||
|
||
typecheck: | ||
# Exclude visual_cueing due to errors | ||
python -m mypy --exclude 'examples/visual_cueing' | ||
|
||
docs: | ||
cd doc && make html | ||
|
||
clean: | ||
cd doc && make clean | ||
|
||
install-deps-apt: | ||
sudo apt-get update # update archive links | ||
|
||
# xvfb is a dependency to create a virtual display | ||
# libgtk-3-dev is a requirement for wxPython | ||
# freeglut3-dev is a requirement for a wxPython dependency | ||
# portaudio19-dev *might* be required to import psychopy on Ubuntu | ||
# pulseaudio *might* be required to actually run the tests (on PsychoPy import) | ||
# libpulse-dev required to build pocketsphinx (speech recognition dependency of psychopy) | ||
# libsdl2-dev required by psychopy | ||
# libnotify4 is so we can have the libnotify.so module used in wxPython working | ||
sudo apt-get -y install xvfb libgtk-3-dev freeglut3-dev portaudio19-dev libpulse-dev pulseaudio libsdl2-dev libnotify4 | ||
|
||
# configure dynamic links | ||
sudo ldconfig | ||
|
||
UPDATED_LIBPATH=$(sudo find / -name libnotify.so) | ||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$UPDATED_LIBPATH | ||
|
||
install-deps-wxpython: | ||
# Install wxPython wheels since they are distribution-specific and therefore not on PyPI | ||
# See: https://wxpython.org/pages/downloads/index.html | ||
pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.