dh_pysupport man page on ElementaryOS

Man page or keyword search:  
man Server   4994 pages
apropos Keyword Search (all sections)
Output format
ElementaryOS logo
[printable version]

DH_PYSUPPORT(1)			python-support		       DH_PYSUPPORT(1)

       dh_pysupport - use the python-support framework to handle Python

       dh_pysupport [debhelper options] [-V X.Y] [-X item [...]] [-n] [module
       dirs ...]

       dh_pysupport is a debhelper program that will scan your package, detect
       public modules in /usr/lib/pythonX.Y/site-packages, and move them to
       the shared Python modules location. It will generate appropriate
       postinst/prerm scripts to byte-compile modules installed there for all
       available python versions.

       It will also look for private Python modules and will byte-compile them
       with the current Python version. You may have to list the directories
       containing private Python modules.

       If a file named debian/pyversions exists, it is used to determine the
       python versions with which the package can work.

       Appropriate dependencies on python-support, python and pythonX.Y are
       put in ${python:Depends}.  The ${python:Versions} and
       ${python:Provides} optional substitution variables are made available
       as well.

       module dirs
	   If your package installs private python modules in non-standard
	   directories, you can make dh_pysupport check those directories by
	   passing their names on the command line. By default, it will check
	   /usr/lib/$PACKAGE, /usr/share/$PACKAGE, /usr/lib/games/$PACKAGE and

       -n, --noscripts
	   Do not modify postinst/postrm scripts.

       -d  This option is deprecated.

       -V X.Y
	   Force private modules to be bytecompiled with the specific X.Y
	   python version, regardless of the default python version on the

       -X item, --exclude=item
	   Exclude files that contain "item" anywhere in their filename from
	   being taken into account to generate the python dependency. It also
	   excludes them from byte-compilation. You may use this option
	   multiple times to build up a list of things to exclude.

       Python policy as of 2006-08-10


       This program is a part of python-support but is made to work with

       Josselin Mouette <joss@debian.org>, Raphael Hertzog

1.0.15				  2012-06-30		       DH_PYSUPPORT(1)

List of man pages available for ElementaryOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net