Skip to content

Instantly share code, notes, and snippets.

@antoinetavant
Created March 19, 2019 16:07
Show Gist options
  • Save antoinetavant/9f9e3c7ad31dd76cef30f20ada39a3b2 to your computer and use it in GitHub Desktop.
Save antoinetavant/9f9e3c7ad31dd76cef30f20ada39a3b2 to your computer and use it in GitHub Desktop.
push a python project on pypi

Port a project on pypi

There is the lists of commands to port a python project on pypi.org. We espect you project to have a correct file setup.py. You also need twine (use pip install twine to install it).

Create a source distribution

with the following command:

python setup.py sdist

Upload it !

twine upload dist/*

That's all !

use pip install YOURPACKAGENAME to install it !