CDL-tutorials icon indicating copy to clipboard operation
CDL-tutorials copied to clipboard

fix instructions for testing installation with TestPyPI in packages tutorial

Open paxtonfitzpatrick opened this issue 6 years ago • 0 comments

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/

paxtonfitzpatrick avatar Dec 18 '19 22:12 paxtonfitzpatrick