Skip to content

Uploading to Pypi

TaylorSMarks edited this page Jul 24, 2021 · 1 revision

I forget how to do this every time, but it's actually pretty straight forward...

Inside the root directory for the project, run:

python setup.py sdist  # This will populate a folder named dist, making it if it doesn't already exist.
twine check dist/*  # Not strictly necessary. If twine isn't installed, get it with pip.
twine upload dist/*
# It'll now prompt for username (TaylorSMarks) and a password. You can check your credentials by trying to login to pypi.org's website with them.
Clone this wiki locally