Skip to content

Commit a9aa591

Browse files
committed
Add compiler download for pip install
1 parent a225c8b commit a9aa591

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,6 @@ Then, to fully install ``diffpy.pdffit2`` in our active environment, run ::
104104

105105
Another option is to use ``pip`` to download and install the latest release from
106106
`Python Package Index <https://pypi.python.org>`_.
107-
To install using ``pip`` into your ``diffpy.pdffit2_env`` environment, type ::
108-
109-
pip install diffpy.pdffit2
110-
111-
If you prefer to install from sources, obtain the source archive from
112-
`GitHub <https://github.com/diffpy/diffpy.pdffit2/>`_.
113107

114108
Ensure that you have a C++ compiler and the necessary dependencies installed mentioned above:
115109

@@ -124,7 +118,13 @@ For Ubuntu: ::
124118
sudo apt-get install libgsl-dev
125119
sudo apt-get install g++
126120

127-
Next, ``cd`` into your ``diffpy.pdffit2`` directory and run the following command: ::
121+
To install using ``pip`` into your ``diffpy.pdffit2_env`` environment, type ::
122+
123+
pip install diffpy.pdffit2
124+
125+
If you prefer to install from sources, after installing the dependencies above, obtain the source archive from
126+
`GitHub <https://github.com/diffpy/diffpy.pdffit2/>`_. Once installed, ``cd`` into your ``diffpy.pdffit2`` directory
127+
and run the following ::
128128

129129
pip install .
130130

0 commit comments

Comments
 (0)