Skip to content

Commit

Permalink
Add minor correction to release instructions
Browse files Browse the repository at this point in the history
pytest is not available on test.pypi.org so we have to install it
separately.
  • Loading branch information
omarkohl committed Oct 7, 2018
1 parent d21d2b8 commit 0d36783
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ To create and upload a new package first update the version number and then:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
# Verify the package is usable
virtualenv -p python3 test-venv
test-venv/bin/pip install pytest
test-venv/bin/pip install --index-url https://test.pypi.org/simple/ pytest-datafiles
# Create some test_example.py (e.g. with one of the examples above)
test-venv/bin/pytest test_example.py
Expand Down

0 comments on commit 0d36783

Please sign in to comment.