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

If you're not sure about the file name format, learn more about wheel file names.

debbuild-0.2.2-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for debbuild-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7282156b70980d89500d5c633905b269ec9ae5124e18919ca57dbaf7a03c430a
MD5 f4e05bc4721cfcf4dc0b1b456f997528
BLAKE2b-256 b0bdb9fede96470d8a604bcb5a50afb98a8c60968c5850406eebcc3f8618196b

See more details on using hashes here.

Supported by

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