Author: reinhard
Date: 2007-05-09 12:24:26 -0500 (Wed, 09 May 2007)
New Revision: 9563
Modified:
trunk/gnue-common/INSTALL
trunk/gnue-common/packaging/debian/rules
Log:
Updates for Debian packaging.
Modified: trunk/gnue-common/INSTALL
===================================================================
--- trunk/gnue-common/INSTALL 2007-05-09 15:26:30 UTC (rev 9562)
+++ trunk/gnue-common/INSTALL 2007-05-09 17:24:26 UTC (rev 9563)
@@ -26,7 +26,7 @@
(you have to add "PYTHONPATH=~/gnue/lib/python" to your .profile)
for packagers we recommend (POSIX only)
- ./setup.py install --prefix=/usr --install-lib=/usr/lib/gnue --root=...
+ ./setup.py install --prefix=/usr --root=...
for help:
./setup.py install --help
Modified: trunk/gnue-common/packaging/debian/rules
===================================================================
--- trunk/gnue-common/packaging/debian/rules 2007-05-09 15:26:30 UTC (rev 9562)
+++ trunk/gnue-common/packaging/debian/rules 2007-05-09 17:24:26 UTC (rev 9563)
@@ -5,7 +5,18 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+DEB_PYTHON_SYSTEM = pysupport
+
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
-DEB_PYTHON_INSTALL_ARGS_ALL += --prefix=/usr --install-lib=/usr/lib/gnue/python
+# We only want to see error messages in the output.
+DEB_PYTHON_SETUP_CMD += --quiet
+
+# Prevent build_scripts from adding Python version number to shebang-line
+# (Either I don't understand something, or this is a point where CDDB doesn't
+# conform to the Python policy).
+DEB_PYTHON_BUILD_ARGS += --executable=/usr/bin/python
+
+# Explicitly set --prefix to avoid setup.cfg.
+DEB_PYTHON_INSTALL_ARGS_ALL += --prefix=/usr
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.