Pypi

TLDR: How to Publish to PyPI

Published on

TLDR: How to Publish to PyPI
Have you ever asked yourself how to publish your Python package, so you can install it using pip? It is less complex than it seems, and anyone can do it. The first step is to create an account on the Python Package Index (PyPI) were all Python packages are registered. After that, you need to create a file called setup.py on the root folder of the Python code that you will publish with the following content, changing the values were is needed: