Skip to content

Commit f3eca3c

Browse files
committed
wxPython note
1 parent 45dc183 commit f3eca3c

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

README.rst

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,6 @@ function over a new grid.
1919
For more information about the diffpy.utils library, see the users manual at
2020
http://diffpy.github.io/diffpy.utils.
2121

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-
3722
INSTALLATION
3823
------------------------------------------------------------------------
3924

@@ -62,15 +47,21 @@ To install using ``pip`` into your ``utils`` environment, we will also have to i
6247
pip install numpy
6348
pip install diffpy.utils
6449

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 ::
6657
6758
python setup.py install
6859
6960
You may need to use ``sudo`` with system Python as it attempts to install to standard system directories.
7061
If sudo is not available, check the usage info from ``python setup.py install --help`` for options to
7162
install to user-writable locations.
7263

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! ::
7465

7566
pip install pytest
7667
python -m diffpy.utils.tests.run

0 commit comments

Comments
 (0)