@@ -12,7 +12,7 @@ working python environment exists.
12
12
Setting environment variables
13
13
-----------------------------
14
14
15
- To make your Python installation (must be Python 2.x as 3 .x is not supported)
15
+ To make your Python installation (must be Python 3.x, 2 .x is no longer supported)
16
16
aware of Nexus, simply set the PYTHONPATH environment variable. For example, in bash this would look like:
17
17
18
18
.. code-block :: rest
@@ -76,6 +76,14 @@ listed with ``apt`` above on Debian systems), try ‘pip3‘:
76
76
pip3 install --user cif2cell
77
77
pip3 install --user seekpath
78
78
79
+ While Nexus does not have strict version requirements, most recent
80
+ dependency versions that have been tested and are known to work can be
81
+ found at ``qmcpack/nexus/requirements.txt ``.
82
+ These specific library versions can be installed using the following command:
83
+ ::
84
+
85
+ pip3 install --user -r requirements.txt
86
+
79
87
The purpose of each library is described below:
80
88
81
89
**numpy ** Needed throughout Nexus for array computation. Nexus will not
@@ -192,7 +200,7 @@ in your ``PATH``. Installation is successful if all tests pass:
192
200
Only portions of Nexus consistent with your Python installed Python
193
201
libraries will be tested.
194
202
195
- To run the tests with ``pytest `` (``pip install – user pytest ``), enter
203
+ To run the tests with ``pytest `` (``pip install -- user pytest ``), enter
196
204
the unit test directory and simply invoke the ``pytest `` command:
197
205
198
206
::
@@ -268,7 +276,7 @@ Assessing Test Coverage (Developer Topic)
268
276
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
269
277
270
278
Code coverage can be assessed by using the ``coverage `` tool
271
- (``pip install – user coverage ``):
279
+ (``pip install -- user coverage ``):
272
280
273
281
::
274
282
0 commit comments