Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install pm.recipe.debianize

How to install pm.recipe.debianize

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install pm.recipe.debianize
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.7
0.8Never BuiltWhy not?
0.7 Available View build log
0.6 Available View build log
Windows (64-bit)
0.6
0.8Never BuiltWhy not?
0.6 Available View build log
Mac OS X (10.5+)
0.7
0.8Never BuiltWhy not?
0.7 Available View build log
0.6 Available View build log
Linux (32-bit)
0.7
0.8Never BuiltWhy not?
0.7 Available View build log
0.6 Available View build log
Linux (64-bit)
0.8 Available View build log
0.7 Available View build log
0.6 Available View build log
 
License
GPL
Lastest release
version 0.8 on Jan 9th, 2014

Debianize uses fpm (https://github.com/jordansissel/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 setup.py.

note! If you are not using buildout but still want to use debianize, use https://gist.github.com/2929586, which is just a shell script that does the same, but is configured with flags

Usage:

[buildout]
parts =
    debianize

[debianize]
maintainer = somebody@example.com
follow_dependencies =
    someobscurepackage
    morestuff
    ivegotnodebianpackageyet

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.

Upstart

If you've got a folder named upstart next to your setup.py, 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 http://pypi.python.org/pypi/rubygemsrecipe/0.1.6:

[rubygems]
recipe = rubygemsrecipe
gems = fpm

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:3

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.