Unix and Linux Discussions Tagged with member_project |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
9,212 |
What is on Your Mind? |
|
|
|
19 |
18,020 |
What is on Your Mind? |
|
|
|
0 |
39,413 |
OS X (Apple) |
|
|
|
1 |
9,899 |
Programming |
|
|
|
52 |
20,604 |
What is on Your Mind? |
|
|
|
8 |
7,772 |
What is on Your Mind? |
|
|
|
28 |
24,090 |
What is on Your Mind? |
|
|
|
5 |
31,309 |
Linux Benchmarks |
|
|
|
30 |
20,886 |
What is on Your Mind? |
|
|
|
7 |
13,434 |
Programming |
|
|
|
0 |
6,495 |
OS X (Apple) |
|
|
|
5 |
8,929 |
Programming |
|
|
|
8 |
8,248 |
What is on Your Mind? |
|
|
|
5 |
24,663 |
Hardware |
|
|
|
1 |
9,917 |
What is on Your Mind? |
|
|
|
10 |
11,174 |
Programming |
|
|
|
45 |
25,451 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
12,496 |
Programming |
|
|
|
0 |
11,510 |
Programming |
|
|
|
2 |
13,633 |
Infrastructure Monitoring |
|
|
|
6 |
12,880 |
Programming |
|
|
|
6 |
9,437 |
Programming |
|
|
|
8 |
14,648 |
Programming |
|
|
|
0 |
11,033 |
Programming |
|
|
|
13 |
15,517 |
Programming |
|
|
|
7 |
15,134 |
Programming |
|
|
|
2 |
11,605 |
Shell Programming and Scripting |
|
|
|
8 |
24,989 |
OS X (Apple) |
|
|
|
1 |
8,400 |
Programming |
|
|
|
1 |
11,473 |
Shell Programming and Scripting |
|
|
|
10 |
15,698 |
Programming |
|
|
|
6 |
11,467 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
9,976 |
Programming |
|
|
|
0 |
9,567 |
Programming |
|
|
|
8 |
14,425 |
Programming |
|
|
|
10 |
11,489 |
What is on Your Mind? |
|
|
|
6 |
9,669 |
Programming |
|
|
|
9 |
20,732 |
Programming |
|
|
|
0 |
28,089 |
Programming |
|
|
|
6 |
11,043 |
Programming |
DH_PYSUPPORT(1) python-support DH_PYSUPPORT(1)
NAME
dh_pysupport - use the python-support framework to handle Python modules
SYNOPSIS
dh_pysupport [debhelper options] [-V X.Y] [-X item [...]] [-n] [module dirs ...]
DESCRIPTION
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.
OPTIONS
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
/usr/share/games/$PACKAGE
-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 system.
-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.
CONFORMS TO
Python policy as of 2006-08-10
SEE ALSO
debhelper(7)
This program is a part of python-support but is made to work with debhelper.
AUTHORS
Josselin Mouette <joss@debian.org>, Raphael Hertzog <hertzog@debian.org>
1.0.15 2012-06-30 DH_PYSUPPORT(1)