Uploading your package to a PyPi server Creating a setup.py file Create a setup.py file, PyCharm has a tool for this. Tools -> create setup.py a basic setup.py file looks like this: from setuptools import setup with open('README.md') as readme: