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 details)

Uploaded Python 3

File details

Details for the file debbuild-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: debbuild-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for debbuild-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23d40007979dbb6461dab3aa15b17401fcbd2a18be100ccf6032928f0cf108bf
MD5 6bff12e4805a7afe803912cd30152eb2
BLAKE2b-256 a3db3c5312b5b62703c242b17337ecf2b7398ef3b590cfca37f4f6a1a3675358

See more details on using hashes here.

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