Skip to main content

Distutils commands to upload files to several servers

Project description

What is collective.dist ?

This package adds two new commands to distutils:

  • mupload: command that allows uploading the package to several servers

  • mregister: command that allow registering to several servers

How to use collective.dist ?

mregister and mupload are replacing register and upload command and work with an extended version of the .pypirc file.

In order to work with it, change your .pypirc file this way:

index-servers =


Where user and password are your PyPI users.

You can then start to use the commands, instead of the usual register and upload calls.

A typical call to upload your file would be:

$ python mregister sdist bdist_egg mupload

To deal with several PyPI-like servers, you can add them in your .pypirc file:

index-servers =



Then work with it, with the -r option:

$ python mregister sdist bdist_egg mupload -r http://another.pypi.server

You can even use the section name instead of the url:

$ python mregister sdist bdist_egg mupload -r another

And use an alias to make the code simpler:

$ python alias to_another mregister sdist bdist_egg mupload -r another  # creates the alias
$ python to_another # run the whole sequence

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.dist-0.1.9.tar.gz (21.9 kB view hashes)

Uploaded Source

Built Distribution

collective.dist-0.1.9-py2.4.egg (42.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page