@@ -19,21 +19,6 @@ function over a new grid.
19
19
For more information about the diffpy.utils library, see the users manual at
20
20
http://diffpy.github.io/diffpy.utils.
21
21
22
-
23
- REQUIREMENTS
24
- ------------------------------------------------------------------------
25
-
26
- The diffpy.utils package requires Python 3.7 or later or 2.7 and
27
- the following software:
28
-
29
- * ``setuptools `` - tools for installing Python packages
30
- * ``NumPy `` - library for scientific computing with Python
31
-
32
- The functions in diffpy.utils.wx module require
33
-
34
- * ``wxPython `` - GUI toolkit for the Python language
35
-
36
-
37
22
INSTALLATION
38
23
------------------------------------------------------------------------
39
24
@@ -62,15 +47,21 @@ To install using ``pip`` into your ``utils`` environment, we will also have to i
62
47
pip install numpy
63
48
pip install diffpy.utils
64
49
65
- If you prefer to install from sources, obtain the source archive and run ::
50
+ For those planning to use functions in the ``diffpy.utils.wx `` module, you will also need to install ``wxPython''.
51
+ Both of the following lines will install this package. ::
52
+
53
+ conda install wxPython
54
+ pip install wxPython
55
+
56
+ If you prefer to install from sources, after installing the dependencies, obtain the source archive and run ::
66
57
67
58
python setup.py install
68
59
69
60
You may need to use ``sudo `` with system Python as it attempts to install to standard system directories.
70
61
If sudo is not available, check the usage info from ``python setup.py install --help `` for options to
71
62
install to user-writable locations.
72
63
73
- To check the installation integrity, install pytest. If the following code passes all checks, the install worked ! ::
64
+ To check the installation integrity if the following passes all checks, you are good ! ::
74
65
75
66
pip install pytest
76
67
python -m diffpy.utils.tests.run
0 commit comments