Warning

This document hasn't been checked for compatibility with current versions of Plone. Use at your own risk.

Installing collective.dist

by Tarek Ziade last modified Jan 07, 2010 11:27 AM
explains how to install collective.dist to be able to use your .pypirc file under Python 2.4 and 2.5

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

Contribute

Something wrong or out of date? Anybody can edit or create a new article in the knowledge base. Simply create an account on this site, log in, and click the Edit button to contribute.