Deploy a python package in a self-contained virtualenv
dh_virtualenv [OPTIONS]
dh-virtualenv is a tool that aims to combine Debian packaging with self-contained virtualenv based Python deployments. To do this, the package extends debhelper's sequence by providing a new command in sequence, dh_virtualenv, which effectively replaces following commands from the sequence:
dh_auto_install
dh_python2
dh_pycentral
dh_pysupport
In the sequence the dh_virtualenv is inserted right after dh_perl.
-pPACKAGE,--package=PACKAGE
Act on the package named PACKAGE
-NPACKAGE,--no-package=PACKAGE
Do not act on the specified PACKAGE
-v, --verbose
Turn on verbose mode.
--extra-index-url
Pass extra index URL to pip
--preinstall=PACKAGE
Preinstall a PACKAGE before running pip.
--pypi-url
Base URL for PyPI server.
--setuptools
Use setuptools instead of distribute.
Build depend on python or python-all and dh-virtualenv
Add ${python:Depends} to Depends
Add python-virtualenv to dh's --with option
Online documentation can be found at http://dh-virtualenv.readthedocs.org/en/latest.
This package should also ship with documentation under /usr/share/doc/dh-virtualenv.
Jyrki Pulliainen / Spotify AB <[email protected]>
Copyright (C) 2013, Spotify AB. Licensed under the GNU General Public License version 2 or later