https://github.com/nylas/make-deb
Tool for building debian packages from your python projects
https://github.com/nylas/make-deb
Last synced: 8 months ago
JSON representation
Tool for building debian packages from your python projects
- Host: GitHub
- URL: https://github.com/nylas/make-deb
- Owner: nylas
- License: mit
- Created: 2015-07-07T22:06:33.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T19:53:44.000Z (over 3 years ago)
- Last Synced: 2024-10-31T21:35:38.869Z (over 1 year ago)
- Language: Python
- Size: 16.6 KB
- Stars: 295
- Watchers: 17
- Forks: 45
- Open Issues: 19
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.md
Awesome Lists containing this project
README
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 `_
.. 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.