Uploading Packages to PyPI
We'll cover the following
You will probably want to start out by testing with PyPI’s test server, which is at https://testpypi.python.org/pypi. You will have to register with that site too as it uses a different database than the main site. Once you’ve done that, you may want to create a .pypirc file somewhere on your operating system’s path. On Linux, you can use $HOME to find it and on Windows, you can use the HOME environ variable. This path is where you would save that file. Following is a sample of what could go in your pypirc file from https://wiki.python.org/moin/TestPyPI:
Get hands-on with 1200+ tech skills courses.