Skip to content

Commit 2e32124

Browse files
authored
Include extra index to pip when installing from TestPyPI
1 parent 9fcc963 commit 2e32124

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/source/developer_guide/pypi.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,10 @@ pysteps already installed::
126126

127127
pip uninstall pysteps
128128

129-
Now, install the pysteps package from test.pypi.org::
129+
Now, install the pysteps package from test.pypi.org.
130+
Since not all the dependecies are available in the Test PyPI repository, we need to add the official repo as an extra index to pip. By doing so, pip will look first in the Test PyPI index and then in the official PyPI::
130131

131-
pip install --index-url https://test.pypi.org/simple/ pysteps
132+
pip install --no-cache-dir --index-url https://test.pypi.org/simple/ --extra-index-url=https://pypi.org/simple/ pysteps
132133

133134
To test that the installation was successful, from a folder different
134135
than the pysteps source, run::

0 commit comments

Comments
 (0)