John Costa's Blog

Software Engineer, Cyclist, and Video Gamer.

My Notes on Uploading a Package PyPI

These are my notes for uploading to Pypi. Additionally, I’ve included some useful links that provide a lot of background.

  1. Register at PyPI

    You can do so here: Register at PyPI

  2. create a .pypirc file in your home directory

        vi .pypirc
        index-servers = pypi
        username: < username >
        password: < password >
  3. upload your package to PyPI

        cd  < package root >
        python register sdist upload