How to publish python package to pypi

Create your account https://pypi.org/ Create a .pypirc configuration file [distutils] index-servers = pypi pypitest [pypi] repository=https://pypi.python.org/pypi username=your_username password=your_password Prepare your packet setup.cfg [metadata] description-file = README.md setup.py from distutils.core import setup setup( name = 'mypackage', packages = ['mypackage'], # this…