ContextLab / CDL-tutorials

Repo containing useful tutorials on different topics, methods, software tools, and packages used by the CDL
http://www.context-lab.com/publications#course-mats
16 stars 3 forks source link

fix instructions for testing installation with TestPyPI in packages tutorial #68

Open paxtonfitzpatrick opened 4 years ago

paxtonfitzpatrick commented 4 years ago

The current instructions say to run pip install -i https://testpypi.python.org/pypi PACKAGENAME, which is what TestPyPI says to do as well. However, this fails if any dependencies of your package are not on TestPyPI, but only on PyPI.

You can look for dependencies on both regular PyPI and TestPyPI using pip install PACKAGENAME --extra-index-url=https://test.pypi.org/simple/