A buildout recipe to create debian packages
Project description
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.
Usage:
[buildout] parts = debianize [debianize] maintainer = Somebody <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.
Last but not least
This recipe does not install fpm for you. instead use http://pypi.python.org/pypi/rubygemsrecipe/0.1.5:
[rubygems] recipe = rubygemsrecipe gems = fpm
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
File details
Details for the file pm.recipe.debianize-0.1.tar.gz
.
File metadata
- Download URL: pm.recipe.debianize-0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 453653f200ac79f1c9ef714f5d8aeecfe2105489533a4b10cb80a184a417a2a3 |
|
MD5 | 918bc66cdc2723dcccf4a19db75f8673 |
|
BLAKE2b-256 | ce6b52b48da395bd9300a0b675363e95f6a0febe11a80a13f05a84752dfdf670 |