Installing collective.dist
But the multiple-server .pypirc configuration is a Python 2.6 feature, and since Plone 3 and Zope 2.10 runs on Python 2.4, you need to use an alternative package if you are unable to use Python 2.6 in your environment yet. Plone 4 runs on Zope 2.12, which uses Python 2.6.
collective.dist adds two new commands for this purpose under Python 2.4 and 2.5:
- mupload: Distutils command which allows uploading packages to multiple servers under Python 2.4 and 2.5. Replaces the upload command.
- mregister: Distutils command which allows uploading packages to multiple servers under Python 2.4 and 2.5. Replaces the register command.
To install collective.dist, you can use easy_install or pip :
$ easy_install collective.dist
From there, you will be able to configure your .pypirc file and work woth both Plone.org and PyPI. As long as you use mregister and mupload
$ python setup.py mregister sdist mupload -r plone.org

Author: