Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pycentral(1) [debian man page]

PYCENTRAL()															       PYCENTRAL()

pycentral - register and build utility for Python packages SYNOPSIS
pycentral [-h] [-v] <cmd> [<cmd options>] [<args>] DESCRIPTION
pycentral provides support for installing python modules independent of the current installed Python version and handling byte-compilation and -removal tasks in installation scripts. OPTIONS
-v, --version Limit the output to the version numbers of the python versions. -h, --help Print a help text. pycentral has the following sub commands. For fine grained help, call: pycentral <cmd>. bccompile Byte compile .py files in a package. bcremove Remove the byte compiled .py files. list List all managed files. pkginstall Make a package available for all supported runtimes. pkgprepare Prepare a package for all supported runtimes. pkgremove Remove a package installed for all supported runtimes. pkglist List pycentral-managed files of a package for all supported runtimes. rtinstall Make installed packages available for this runtime. rtremove Remove packages installed for this runtime. updatedefault Update the default python version. debhelper move files to pycentral locaation, variable substitutions (called by dh_pycentral). pycentraldir <package> Show the installation directory used by pycentral for <package>. showdefault Show default python version number. Deprecated, use pyversions(1) showsupported Show the supported python versions. Deprecated, use pyversions(1) showversions Show version numbers of supported python versions. Deprecated, use pyversions(1) dh_pycentral, should not be called directly). version Show the pycentral version. FILES
/etc/python/debian_config is searched for the attribute overwrite-local. If set to 1, or True, existing files in /usr/lib/pythonX.Y/*-packages are overwritten with symbolic links to the pycentral install area. The default is to abort the installation of a package, when files already exist. This behaviour may be useful, when python libraries were manually installed into this directory. The attribute byte-compile can be set to a comma separated list of the values standard and optimze to indicate how files should be byte- compiled. SEE ALSO
pyversions(1), Python policy. AUTHOR
Matthias Klose PYCENTRAL()

Check Out this Related Man Page

DH_PYTHON(1)							     Debhelper							      DH_PYTHON(1)

dh_python - calculates Python dependencies and adds postinst and prerm Python scripts (deprecated) SYNOPSIS
dh_python [debhelperoptions] [-n] [-V version] [moduledirs...] DESCRIPTION
Note: This program is deprecated. You should use dh_pysupport or dh_pycentral instead. This program will do nothing if debian/pycompat or a Python-Version control file field exists. dh_python is a debhelper program that is responsible for generating the ${python:Depends} substitutions and adding them to substvars files. It will also add a postinst and a prerm script if required. The program will look at Python scripts and modules in your package, and will use this information to generate a dependency on python, with the current major version, or on pythonX.Y if your scripts or modules need a specific python version. The dependency will be substituted into your package's control file wherever you place the token ${python:Depends}. If some modules need to be byte-compiled at install time, appropriate postinst and prerm scripts will be generated. If already byte- compiled modules are found, they are removed. If you use this program, your package should build-depend on python. OPTIONS
module dirs If your package installs Python modules in non-standard directories, you can make dh_python check those directories by passing their names on the command line. By default, it will check /usr/lib/site-python, /usr/lib/$PACKAGE, /usr/share/$PACKAGE, /usr/lib/games/$PACKAGE, /usr/share/games/$PACKAGE and /usr/lib/python?.?/site-packages. Note: only /usr/lib/site-python, /usr/lib/python?.?/site-packages and the extra names on the command line are searched for binary (.so) modules. -V version If the .py files your package ships are meant to be used by a specific pythonX.Y version, you can use this option to specify the desired version, such as 2.3. Do not use if you ship modules in /usr/lib/site-python. -n, --noscripts Do not modify postinst/prerm scripts. CONFORMS TO
Debian policy, version 3.5.7 Python policy, version 0.3.7 SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Josselin Mouette <> most ideas stolen from Brendan O'Dea <> 8.9.0ubuntu2.1 2012-06-12 DH_PYTHON(1)
Man Page

Featured Tech Videos