debpackager package any project to debian package
Project description
Overview
debpackager is a cli tool used for creating debian packages inspired by fpm and maven
Main Features:
Provides easy control over project packaging process using configuration file called project.json (like pom.xml in maven)
Solves the problem of python projects need debian dependencies to work.
Making your code a Linux daemon with just few simple steps.
Greatly simplifies the packaging and deployment process.
Package version management in SemVer standard (http://semver.org/)
What does it do
Creates debian binary packages out of any project, no metter what language. Do not really follow Debian packaging policy or all the packaging guidelines. Provides an easy way to configure, manage and create a deb package that can be deployed on Linux.
By adding project.json file to any project, debpackager will create debian out of it.
If you have a python project you can set the type in the configuration to ‘python’, and debpackager will create and package virtualenv with your project out of your requirements.txt.
Environment
Python >=2.7
Linux
Dependencies
dh-make
Install
sudo apt-get install dh-make
pip install debpackager
Usage
Must have project.json at your project root directory
build
usage: debpackager build [-h] [--install-dependencies] [--no-clean] [-t] [-p] [-v]
optional arguments:
-h, --help show this help message and exit
--install-dependencies
install deb dependencies before build (used for python virtualenv creation)
--no-clean leave behind everything used to create the debian package.
-t , --type set project type, default: auto detect
-p , --path set path to project, default: current location
-v , --version set version manually
Documentation
See wiki
Contributing
By participating in this project you agree to abide by its terms.
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
Built Distribution
Hashes for debpackager-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5b7949e5f1a4f7a0f2b7d4c33c3ea11d24b286f0f07c3a4c227063e448ff9c3 |
|
MD5 | 7342eb04a538def37a06bd7dd8ed7760 |
|
BLAKE2b-256 | 3e8cf664ab751b57a0de71b8d34cdeb7b566ef9442c5b876857dcee8dfedc494 |