File tree Expand file tree Collapse file tree 5 files changed +10
-6
lines changed
Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 88def install_nest (version ):
99
1010 if not version :
11- version = '2.20.0 '
11+ version = '3.1 '
1212
1313 inform ('Installing NEST' , indent = 2 , verbosity = 1 )
1414 nestpath = os .path .join (os .environ ['HOME' ],'nest' )
Original file line number Diff line number Diff line change 1111def install_neuron (version ):
1212 if not version :
1313 if sys .version_info .major == 3 :
14- version = '7.8.2'
14+ version = '8.0.0' # 8.0.0 works with pynn 0.10.0
1515 else :
1616 version = '7.6'
1717
Original file line number Diff line number Diff line change 44
55from omv .engines .utils .wdir import working_dir
66
7- def install_pynn ():
7+ def install_pynn (version ):
8+
9+ if not version :
10+ version = '0.10.0'
11+
812 try :
913
1014 #pip_install('lazyarray') # This should ideally be automatically installed with PyNN...
@@ -19,7 +23,7 @@ def install_pynn():
1923 path = os .path .join (install_root , pyNN_src )
2024
2125 with working_dir (path ):
22- print (check_output (['git' ,'checkout' ,'0.9.6' ])) # neuroml branch has the latest NML2 import/export code!
26+ print (check_output (['git' ,'checkout' ,version ])) # neuroml branch has the latest NML2 import/export code!
2327 #check_output(['git','checkout','master'])
2428 #print(check_output(['python', 'setup.py', 'install']))
2529 pip_install ('.' )
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def install(version):
3333 from omv .engines .getpynn import install_pynn
3434 home = os .environ ['HOME' ]
3535 inform ('Will fetch and install the latest pyNN' , indent = 2 )
36- install_pynn ()
36+ install_pynn (version )
3737 inform ('Done, PyNN is correctly installed...' , indent = 2 )
3838
3939
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ def _install_engine(eng):
287287 install_nest (engine_version )
288288 elif eng .lower () == 'PyNN' .lower ():
289289 from omv .engines .getpynn import install_pynn
290- install_pynn ()
290+ install_pynn (engine_version )
291291
292292 elif eng .lower () == 'PyNN_NEURON' .lower ():
293293 from omv .engines .pynnneuron import PyNNNRNEngine
You can’t perform that action at this time.
0 commit comments