Skip to content

Instantly share code, notes, and snippets.

@DataGreed
Last active April 5, 2022 16:40
Show Gist options
  • Save DataGreed/4742178b0d282f1d6deedc99cccd57b9 to your computer and use it in GitHub Desktop.
Save DataGreed/4742178b0d282f1d6deedc99cccd57b9 to your computer and use it in GitHub Desktop.
Packages your project for pip and sitributes it (run outside virtual environment)
python3 -m pip install --user --upgrade setuptools wheel
python3 setup.py sdist bdist_wheel
python3 -m pip install --user --upgrade twine
twine upload --repository pypi dist/*
@DataGreed
Copy link
Author

DataGreed commented Apr 5, 2022

or

python3 -m twine upload --repository --verbose pypi dist/*

if you get

bash: twine: command not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment