Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Distutils commands for working with Launchpad and Bazaar.

Project Description


This is a set of extra commands for distutils/setuptools that allow working with
Launchpad and Bazaar. They are similar to the "register" and "upload" commands
provided by distutils for working with pypi.


* lpregister - register the project on Launchpad. This takes the information from and creates you a Launchpad project based on that information.

In addition, if you are working in a bzr branch then that branch will be pushed
to Launchpad, and set as the development focus of the new project.

* lpupload - this uploads a release to Launchpad for you. Similar to the "upload"
command you run it with the command to build the artefact you wish to upload, e.g.::

python --command-packages lpdistutils sdist lpupload --sign

If you wish to upload to PYPI too you can do this with::

python --command-packages sdist upload --sign lpupload --use-existing-sig

* bzrtag - this sets a bzr tag based on the version number in, so you
can use it as part of your release process.


You need to tell distutils/setuptools to load the commands provided by lpdistutils, and
you do this with the --command-packages option to


python --command-packaegs lpdistutils

This must be the first thing passed.

It is possible to enable it in the `distutils config files`_

.. _distutils config files:


command-packages = lpdistutils

Release History

This version
History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(7.5 kB) Copy SHA256 Hash SHA256
Source Jul 17, 2010

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting