Buildout recipe to create debian packages from python packages.
Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Debianize, a buildout recipe to create debian packages

Debianize uses fpm ( to create debian packages from python source directories. The only thing it really adds, is that debianize will also create packages for all depencencies that your source package has (install_requires). Debianize will only create a debian package from a python package. So you need a

note! If you are not using buildout but still want to use debianize, use, which is just a shell script that does the same, but is configured with flags


parts =

maintainer =
follow_dependencies =

If you define follow_dependencies debianize will only create packages for things that match any of the regex patterns in that option. If omit follow_dependencies, it will build debian packages for anything defined as a dependency with install_requires. You can not use spaces in any of the patterns! This is useful if some of the dependencies are allready available as debian packages and others are not.

The above defined follow_dependencies will be matched like this:

$NAME =~ someobscurepackage|morestuff|ivegotnodebianpackageyet

So it will simply put a | symbol in between the patterns.


If you've got a folder named upstart next to your, this folder will be packaged as well, with the same version number as your package, but adding a .d postfix to your package name.

Last but not least

This recipe does not install fpm for you. instead use

recipe = rubygemsrecipe
gems = fpm