Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 677 Bytes

README_dev.md

File metadata and controls

44 lines (31 loc) · 677 Bytes

Build and push to PyPi

Requires: pip install twine Don't forget to increment version number

Bump version (major, minor or patch):

bump2version patch

Build dist

rm -r dist
make dist

Upload to test PyPi

make check-dist
make test-pypi

Activate virtual env (might need to make venv-create)

source many_requests-venv/bin/activate

Test install (in virtual env):

pip install --upgrade --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple many_requests

Then push to real PyPI:

rm -r dist
make dist
make pypi-upload