Re: [Debian Wiki] Update of "Python/FAQ" by StefanoRivera
It wouldn't hurt to list the reasons why python-central,
python-support and dh_python failed to know if dh_python2 will fail
On Tue, Jun 28, 2011 at 12:59 PM, Debian Wiki
> Dear Wiki user,
> You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.
> The "Python/FAQ" page has been changed by StefanoRivera:
> python-support and -central are deprecated.
> === Build dependencies ===
> For compiled modules you need to depend on python-all-dev, and python-all-dbg.
> For Python-only modules the sole python-all is sufficient if they use Python-based build system (like the very used distutils).
> - A helper such as dh_python2, python-support, or python-central, will automagically manage bytecompilation.
> + A helper such as dh_python2 (or the deprecated python-support and python-central) will automagically manage bytecompilation.
> == Note on bytecompilation for pure Python modules ==
> @@ -47, +47 @@
> === What is python-support? ===
> - Python-support is a tool to handle byte-compilation of python modules when there are several python versions installed on the system.
> + Python-support is a (now deprecated) tool to handle byte-compilation of python modules when there are several python versions installed on the system.
> See /usr/share/doc/python-support/README.gz or [[http://svn.debian.org/viewsvn/collab-maint/deb-maint/python-support/trunk/README|SVN README]] for up-to-date information.
> === What is python-central? ===
> - Package that contains some helper scripts for building and installing python modules independent of the current installed Python version.
> + Python-central is a (now deprecated) package that contains some helper scripts for building and installing python modules independent of the current installed Python version.
> Some information about python-central can be found here:
> @@ -62, +62 @@
> dh_python2 is recommended for new Python 2 packages.
> dh_python3 is the only helper for Python3.
> + python-support an python-central are deprecated.
> Some statistics (the number of packages using each method), as of 25 Apr 2011: