Skip to content

Instantly share code, notes, and snippets.

@yassineAlouini
Last active August 28, 2018 18:46
Show Gist options
  • Save yassineAlouini/fc2e474f799530b3712b3853ac954771 to your computer and use it in GitHub Desktop.
Save yassineAlouini/fc2e474f799530b3712b3853ac954771 to your computer and use it in GitHub Desktop.
Publish to PyPi
  1. Update the version in the setup.py file.

  2. Run: python3 setup.py sdist bdist_wheel.

  3. Run the following: python setup.py sdist upload -r pypi.

Notice that this last command is deprecated. Use twine instead.

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