April 2019
Intermediate to advanced
646 pages
16h 48m
English
Anyone can register and upload packages to PyPI provided that he or she has an account registered. Packages are bound to the user, so, by default, only the user that registered the name of the package is its admin and can upload new distributions. This could be a problem for bigger projects, so there is an option to mark other users as package maintainers so that they are able to upload new distributions too.
The easiest way to upload a package is to use the following upload command of the setup.py script:
$ python setup.py <dist-commands> upload
Here, <dist-commands> is a list of commands that creates distributions to upload. Only distributions created during the same setup.py execution will be ...