ikus060 / debbuild

Command line utility to build Deb package without Debian

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Command line utility to build Deb package without Debian

License:MIT License


Languages

Language:Python 100.0%