Skip to content

Instantly share code, notes, and snippets.

@JuliaSprenger
Last active September 27, 2019 14:02
Show Gist options
  • Save JuliaSprenger/9b1d581fdb9c20dbbe7a0fd0baf4d369 to your computer and use it in GitHub Desktop.
Save JuliaSprenger/9b1d581fdb9c20dbbe7a0fd0baf4d369 to your computer and use it in GitHub Desktop.
Check tests and issues
Check docu is running
Update version number + commit
Create tag locally `git tag 1.x.x`
Push tag to remote `git push origin --tags`
Create dist `python setup.py sdist`
Test `dist/<package><version>` is pip installable
Check compatiblity with PyPi `twine check dist/<package><version>.tar.gz`
Test package on PyPiTest `twine upload --repository pypitest dist/<package><version>.tar.gz`
Test installability from PyPiTest `pip install -i https://test.pypi.org/simple/ <package> --pre --extra-index-url https://pypi.org/simple`
Upload to PiPy `twine upload --repository pypi dist/<package><version>.tar.gz`
Test installation from PiPy `pip install <package>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment