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.2.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: debbuild-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for debbuild-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a043d89f212aca697014d8360edd3a635950c559cdc18e577f334e2889d52cf
MD5 d71d5b68054135cd5e61a1dc78d925b9
BLAKE2b-256 efe6f5d4457bd4a8ff8b41ba81f096cabb735ffe1d7f811f958022550333cbe9

See more details on using hashes here.

Supported by

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