Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made light NU optimizer installable for (brian2, and AllenGLIF without Docker). #226

Open
russelljjarvis opened this issue Aug 2, 2019 · 2 comments

Comments

@russelljjarvis
Copy link
Contributor

Made NU optimizer installable for (brian2, and AllenGLIF without Docker).

TODO figure out appropriate syntax in setup.py /requirements.txt

pip install neuronunit[version]
@russelljjarvis
Copy link
Contributor Author

russelljjarvis commented Aug 2, 2019

These command are approximately sufficient to install NU opt.

pip3 install -e git+https://github.com/fun-zoological-computing/AllenSDK
pip3 install -e git+https://github.com/scidash/sciunit@dev
pip3 install dask distributed brian2 numba deap
sudo pip3 install --upgrade beautifulsoup4
pip3 install -e git+https://github.com/russelljjarvis/neuronunit@barcelona

@rgerkin
Copy link
Contributor

rgerkin commented Aug 7, 2019

OK, so those things (which hopefully can eventually be pruned to stable versions/branches of things on pypi) can be in some sort of optional requirements file, and I can think about how to configure setup.py to use them when someone does pip install neuronunit[optimization]. Then the init.py of the optimization module can have a check for one or more of those things that will raise and Exception (or issue a warning) if they are not installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants