Skip to main content

Command line utility to build Deb package without Debian

Project description

License Build Quality Gate Minarca Client Coverage

Debbuild

Command line utility to build Deb package without Debian.

Description

This project allows to create archives for Debian (.deb) using only Python technologies. It is inspired by the Fpm project and jdeb project which allows to create different types of archives on any platform.

I decided to create the Debbuild project, because it is a better way to create a Debian package on any platform. Previsouly, creating packages for Debian required the creation of a debian directory, the creation of several configuration files and tools like dpkg to build the package. With Debbuild it is possible to build the package without Debian by using a python script. This makes the creation of packages easier and the process simpler and more understandable.

A good usage scenario is the creation of a package containing the binary version of your project created from PyInstaller.

Installation

Install Debbuild from pypi.

pip install debbuild

Usage

A simple example how to use Debbuild to quickly create a Debian package.

debbuild --name mypackage --version 1.0.1 --data-src /opt/mypackage=<path-to-dir>

Support

If you need help or experience problem while using Debuild, open a ticket in Gitlab or Github.

Roadmap

More specialized feature could be added:

  • Service Unit creation
  • Support more compression type like zstd

License

This project is release under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

debbuild-0.1.0-py3-none-any.whl (9.1 kB view hashes)

Uploaded 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