File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM metacell/jupyter-neuron:latest
2- # Switch to non sudo, create a Python 3 virtual environment
32USER $NB_USER
43
4+ ARG netpyneuiBranch=development
5+ ENV netpyneuiBranch=${netpyneuiBranch}
6+ RUN echo "$netpyneuiBranch" ;
7+
58ARG INCUBATOR_VER=unknown
69RUN /bin/bash -c "INCUBATOR_VER=${INCUBATOR_VER} source activate snakes && pip install netpyne_ui"
710RUN /bin/bash -c "source activate snakes && jupyter nbextension enable --py jupyter_geppetto"
@@ -11,4 +14,13 @@ RUN /bin/bash -c "source activate snakes && jupyter nbextension enable --py widg
1114WORKDIR /home/jovyan
1215RUN git clone --branch CNS18 https://github.com/Neurosim-lab/netpyne_workspace
1316WORKDIR /home/jovyan/netpyne_workspace
14- CMD /bin/bash -c "source activate snakes && exec jupyter notebook --debug --NotebookApp.default_url=/geppetto --NotebookApp.token=''"
17+
18+ # Uncomment to run travis using this Dockerfile
19+ # Clone the source code and creates a symlink to the test folder
20+ WORKDIR /home/jovyan/work
21+ RUN wget https://github.com/MetaCell/NetPyNE-UI/archive/$netpyneuiBranch.zip -q
22+ RUN unzip $netpyneuiBranch.zip
23+ WORKDIR /home/jovyan/netpyne_workspace
24+ RUN ln -sfn /home/jovyan/work/NetPyNE-UI-$netpyneuiBranch/netpyne_ui/tests tests
25+
26+ CMD /bin/bash -c "source activate snakes && exec jupyter notebook --debug --NotebookApp.default_url=/geppetto --NotebookApp.token='' --library=netpyne_ui"
Original file line number Diff line number Diff line change 1+ # Include everything inside this folder
2+ graft netpyne_ui/geppetto/src/main/webapp/build
3+
4+ # Include any of these resources at any level
5+ recursive-include netpyne_ui/geppetto *.png *.css *.woff *.woff2
6+
7+ # Include any of these resources at any level
8+ recursive-include netpyne_ui/tests *.hoc
9+
10+ # Include also root files (basically the extension)
11+ include netpyne_ui/*
Original file line number Diff line number Diff line change 2424 long_description = open ('README.rst' ).read (),
2525 data_files = data_files ,
2626 packages = setuptools .find_packages (),
27- package_data = {
28- '' : ['*.hoc' ]
29- },
27+ include_package_data = True ,
3028 scripts = ['NetPyNE-UI' ],
3129 classifiers = [
3230 'Development Status :: 3 - Alpha' ,
You can’t perform that action at this time.
0 commit comments