Skip to content

Commit ade2613

Browse files
committed
Final edits
1 parent 94daed9 commit ade2613

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

README.rst

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ To add "conda-forge" to the conda channels, run the following in a terminal. ::
3131
conda config --add channels conda-forge
3232

3333
We want to install our packages in a suitable conda environment.
34-
The following creates and activates a new environment named ``utils`` ::
34+
The following creates and activates a new environment named ``diffpy-utils`` ::
3535

36-
conda create -n utils python=3
37-
conda activate utils
36+
conda create -n diffpy-utils python=3
37+
conda activate diffpy-utils
3838

3939
Then, to fully install ``diffpy.utils`` in our active environment, run ::
4040

4141
conda install diffpy.utils
4242

4343
Another option is to use ``pip`` to download and install the latest release from
4444
`Python Package Index <https://pypi.python.org>`_.
45-
To install using ``pip`` into your ``utils`` environment, we will also have to install dependencies ::
45+
To install using ``pip`` into your ``diffpy-utils`` environment, we will also have to install dependencies ::
4646

4747
pip install numpy
4848
pip install diffpy.utils
@@ -53,15 +53,13 @@ Both of the following lines will install this package. ::
5353
conda install wxPython
5454
pip install wxPython
5555
56-
If you prefer to install from sources, after installing the dependencies, obtain the source archive and run ::
56+
If you prefer to install from sources, after installing the dependencies, obtain the source archive from
57+
`GitHub<https://github.com/diffpy/diffpy.utils/>`_. Once installed, ``cd`` into your ``diffpy.utils`` directory
58+
and run the following ::
5759

58-
python setup.py install
60+
pip install -e .
5961

60-
You may need to use ``sudo`` with system Python as it attempts to install to standard system directories.
61-
If sudo is not available, check the usage info from ``python setup.py install --help`` for options to
62-
install to user-writable locations.
63-
64-
To check the installation integrity if the following passes all checks, you are good! ::
62+
To check the installation integrity, if the following passes all checks, you are good! ::
6563

6664
pip install pytest
6765
python -m diffpy.utils.tests.run

0 commit comments

Comments
 (0)