|
47 | 47 | command = "%s/conda config --system --set auto_update_conda false" % bin_dir |
48 | 48 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
49 | 49 |
|
50 | | - print("Installing package: 'mdtraj'") |
| 50 | + print("Installing package: mdtraj") |
51 | 51 | command = "%s/conda install -y -q -c omnia mdtraj" % bin_dir |
52 | 52 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
53 | 53 |
|
54 | | - print("Installing package: 'ambertools'") |
| 54 | + print("Installing package: ambertools") |
55 | 55 | command = "%s/conda install -y -q -c ambermd ambertools" % bin_dir |
56 | 56 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
57 | 57 |
|
58 | 58 | print("Upgrading pip") |
59 | 59 | command = "%s/pip install --upgrade pip" % bin_dir |
60 | 60 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
61 | 61 |
|
62 | | - print("Installing package: 'watchdog'") |
| 62 | + print("Installing package: watchdog") |
63 | 63 | command = "%s/pip install watchdog" % bin_dir |
64 | 64 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
65 | 65 |
|
66 | | - print("Installing package: 'mdanalysis'") |
| 66 | + print("Installing package: mdanalysis") |
67 | 67 | command = "%s/pip install mdanalysis" % bin_dir |
68 | 68 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
69 | 69 |
|
70 | | - print("Installing package: 'jupyter'") |
| 70 | + print("Installing package: jupyter") |
71 | 71 | command = "%s/pip install jupyter" % bin_dir |
72 | 72 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
73 | 73 |
|
74 | | - print("Installing package: 'duecredit'") |
| 74 | + print("Installing package: duecredit") |
75 | 75 | command = "%s/pip install duecredit" % bin_dir |
76 | 76 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
77 | 77 |
|
78 | | - print("Installing package: 'pygtail'") |
| 78 | + print("Installing package: pygtail") |
79 | 79 | command = "%s/pip install pygtail" % bin_dir |
80 | 80 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
81 | 81 |
|
82 | | - print("Installing package: 'matplotlib'") |
| 82 | + print("Installing package: matplotlib") |
83 | 83 | command = "%s/pip install matplotlib" % bin_dir |
84 | 84 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
85 | 85 |
|
86 | | - print("Installing package: 'fileupload'") |
| 86 | + print("Installing package: fileupload") |
87 | 87 | command = "%s/pip install fileupload" % bin_dir |
88 | 88 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
89 | 89 |
|
90 | | - print("Activating notebook extension: 'fileupload'") |
91 | | - command = "%s/jupyter-nbextension install fileupload --py --sys-prefix" % bin_dir |
| 90 | + print("Activating notebook extension: fileupload") |
| 91 | + command = "%s/jupyter-nbextension install fileupload --py --sys-prefix --log-level=0" % bin_dir |
92 | 92 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
93 | | - |
94 | 93 | command = "%s/jupyter-nbextension enable fileupload --py --sys-prefix" % bin_dir |
95 | 94 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
96 | 95 |
|
97 | | - print("Installing package: 'nglview'") |
| 96 | + print("Installing package: nglview") |
98 | 97 | command = "%s/pip --no-cache-dir install nglview" % bin_dir |
99 | 98 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
100 | 99 |
|
101 | | - print("Activating notebook extension: 'nglview'") |
102 | | - command = "%s/jupyter-nbextension install nglview --py --sys-prefix" % bin_dir |
| 100 | + print("Activating notebook extension: nglview") |
| 101 | + command = "%s/jupyter-nbextension install nglview --py --sys-prefix --log-level=0" % bin_dir |
103 | 102 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
104 | | - |
105 | 103 | command = "%s/jupyter-nbextension enable nglview --py --sys-prefix" % bin_dir |
106 | 104 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
107 | 105 |
|
108 | | - print("Patching 'mdtraj' NetCDF writer") |
| 106 | + print("Patching mdtraj NetCDF writer") |
109 | 107 | command = ("%s/curl -k -s https://raw.githubusercontent.com/scipy/scipy/master/scipy/io/netcdf.py" |
110 | 108 | "> %s/python3.5/site-packages/scipy/io/netcdf.py" |
111 | 109 | ) % (bin_dir, lib_dir) |
|
114 | 112 | print("Fixing conda NetCDF install") |
115 | 113 | command = "%s/conda clean -all -y -q" % bin_dir |
116 | 114 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
117 | | - |
118 | 115 | command = "%s/conda update -y -q netcdf4" % bin_dir |
119 | 116 | subprocess.run(command, shell=True, stdout=subprocess.PIPE) |
120 | 117 |
|
|
0 commit comments