Generates Debian configuration based on your setup.py
Project description
make-deb: Helper Tool for getting your python code into debian packages
=============================================
Make-deb is a simple tool that generates Debian configuration based on your setuptools configuration and git history. When run, it will create a Debian directory at the root of your python project with the necessary files to build your package into a Debian package using `dh-virtualenv <https://github.com/spotify/dh-virtualenv>`_
.. code-block:: bash
$ cd /my/python/repository
$ make-deb
'debian' directory successfully placed at the root of your repository
If setuptools does not have complete information, make-deb will ask for additional information (for example, maintainer email). After initialization, a directory named "debian" will be reated at the root of your repo. Assuming you have dh-virtualenv installed, you should be able to simply create a .deb from your python project by running the following command at the root of your project.
.. code-block:: bash
$ dpkg-buildpackage -us -uc
Installation
------------
To install make-deb:
.. code-block:: bash
$ pip install make-deb
Documentation
-------------
Generating your Debian configuration can be run from any operating system. However, in order to build a debian package, you must be on a Debian-based operating system and have dh-virtualenv installed. In the future, we plan to support Vagrant integration to build packages from any platform.
=============================================
Make-deb is a simple tool that generates Debian configuration based on your setuptools configuration and git history. When run, it will create a Debian directory at the root of your python project with the necessary files to build your package into a Debian package using `dh-virtualenv <https://github.com/spotify/dh-virtualenv>`_
.. code-block:: bash
$ cd /my/python/repository
$ make-deb
'debian' directory successfully placed at the root of your repository
If setuptools does not have complete information, make-deb will ask for additional information (for example, maintainer email). After initialization, a directory named "debian" will be reated at the root of your repo. Assuming you have dh-virtualenv installed, you should be able to simply create a .deb from your python project by running the following command at the root of your project.
.. code-block:: bash
$ dpkg-buildpackage -us -uc
Installation
------------
To install make-deb:
.. code-block:: bash
$ pip install make-deb
Documentation
-------------
Generating your Debian configuration can be run from any operating system. However, in order to build a debian package, you must be on a Debian-based operating system and have dh-virtualenv installed. In the future, we plan to support Vagrant integration to build packages from any platform.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
make-deb-0.0.5.tar.gz
(3.7 kB
view details)
File details
Details for the file make-deb-0.0.5.tar.gz
.
File metadata
- Download URL: make-deb-0.0.5.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 599adc7c06d8b16db5f3660ff3a83fc134df9f05627b873be8c7b1d78302342a |
|
MD5 | ca2d3667ce07dc0a047751c52ab9f18d |
|
BLAKE2b-256 | 0b69f65acd4e79a3920e3dd3acec9359ece3547ad43395367cf641cf9c163421 |