Tool for building debian packages from your python projects
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin Changing default enconding for UTF-8 Mar 28, 2016
make_deb Tentatively support Python 3. Feb 14, 2016
.gitignore
LICENSE.md license under the MIT license Jul 13, 2015
MANIFEST.in
README.rst Updating documentation. Improving UI. Applying flake8 Jul 8, 2015
requirements.txt Bugfixes Jul 7, 2015
setup.py 0.0.4 => 0.0.5 Feb 14, 2016

README.rst

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

$ 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.

$ dpkg-buildpackage -us -uc

Installation

To install make-deb:

$ 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.