Skip to content

Commit 2a9c975

Browse files
committed
chore: add --file command mention to readme.rst
1 parent 4debd5c commit 2a9c975

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,17 @@ To install this software from a Python wheel distribution format execute
5757

5858
pip install ./diffpy.srxconfutils-VERSION.whl
5959

60-
If you prefer to install from sources, after installing the dependencies, obtain the source archive from
61-
`GitHub <https://github.com/diffpy/diffpy.srxconfutils/>`_. Once installed, ``cd`` into your ``diffpy.srxconfutils`` directory
60+
If you are a developer, you can also install this package from sources. First, obtain the source archive
61+
from `GitHub <https://github.com/diffpy/diffpy.srxconfutils/>`_.
62+
Install the packages in ``./requirements/conda.txt`` and ``./requirements/tests.txt``
63+
using the `--file`` command:
64+
65+
conda activate conf-env
66+
conda install --file ./requirements/conda.txt
67+
conda install --file ./requirements/tests.txt
68+
pip install -e . # assuming you are in the top level directory of the package
69+
70+
After installing the dependencies, ``cd`` into your ``diffpy.srxconfutils`` directory
6271
and run the following ::
6372

6473
pip install .

0 commit comments

Comments
 (0)