Skip to main content

Debianize, a buildout recipe to create debian packages

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

Metadata

Release files for pm.recipe.debianize 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pm.recipe.debianize 0.8
File Size Uploaded Provenance
pm.recipe.debianize-0.8.tar.gz 3.8 kB Without provenance Details

Release files / pm.recipe.debianize-0.8.tar.gz

Download URL pm.recipe.debianize-0.8.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
91e4403ff3aa23305739c19f3f628f32ac73ae9a8d9ea7d6bf09a50aa9164b37
BLAKE2b-256 checksum
How to use checksums
01f80762822a8f7bfc6ad920921eb0ad55a82a26f8b6d9a3ad36d9a4e054739b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pm.recipe.debianize 0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page