From 583f347bc3efce2c6d7b27234e8ffca419787f4b Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Thu, 8 Sep 2016 14:11:51 -0400 Subject: [PATCH] DOC: Update testpypi install command When following the release guide, installing from testpypi using the `-i` flag failed on my, and at least one other's, development machines. The cause of the failure appears to be that pip would look for packages, such as `LogBook` or `pandas` on `testpypi`. However many dependencies do not have versions that meet our version criteria. (e.g. pandas does not have a version between 0.16.0 and 0.18.0 on testpypi.) Instead, use `--extra-index-url` so that other packages can use `pypi` as a fallback server, instead of being limited to `testpypi`. --- docs/source/release-process.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/release-process.rst b/docs/source/release-process.rst index a33e83c0..2fee40c4 100644 --- a/docs/source/release-process.rst +++ b/docs/source/release-process.rst @@ -154,7 +154,7 @@ create a new virtualenv, ``cd`` into a clean directory and then run: .. code-block:: bash - $ pip install -i https://testpypi.python.org/pypi zipline + $ pip install --extra-index-url https://testpypi.python.org/pypi zipline $ python -c 'import zipline;print(zipline.__version__)'