Skip to main content

debpackager package any project to debian package

Project description

Overview

debpackager is a cli tool used for creating debain 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)

  • Easy addition of new packing policies for different project types and languages

  • Solves the problem of python projects need debian dependencies to run.

  • Making your code a Linux compatible 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 only debian binary packages right now. 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.

Requirements

  • Python >=2.7

  • Works on 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.2.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distribution

debpackager-0.1.2-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