Skip to main content

debpackager package any project to debian package

Project description

https://circleci.com/gh/urban48/debpackager/tree/master.svg?style=svg

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

debpackager-0.1.3.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

debpackager-0.1.3-py2.py3-none-any.whl (13.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page