Skip to content

Commit 9fabfc4

Browse files
committed
Use conda to download dependencies
1 parent a9aa591 commit 9fabfc4

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

README.rst

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,14 @@ Another option is to use ``pip`` to download and install the latest release from
107107

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

110-
For macOS: ::
111-
112-
brew install gsl
113-
brew install gcc
114-
115-
For Ubuntu: ::
110+
To install using ``pip`` into your ``diffpy.pdffit2_env`` environment, type ::
116111

117-
sudo apt-get update
118-
sudo apt-get install libgsl-dev
119-
sudo apt-get install g++
112+
conda install \
113+
--file requirements/test.txt \
114+
--file requirements/run.txt \
115+
--file requirements/build.txt
120116

121-
To install using ``pip`` into your ``diffpy.pdffit2_env`` environment, type ::
117+
And then type ::
122118

123119
pip install diffpy.pdffit2
124120

0 commit comments

Comments
 (0)