[Python-apps-commits] r2730 - in packages/s3cmd/trunk/debian (rules)
dottedmag-guest at users.alioth.debian.org
dottedmag-guest at users.alioth.debian.org
Mon Apr 13 08:41:48 UTC 2009
Date: Monday, April 13, 2009 @ 08:41:48
Author: dottedmag-guest
Revision: 2730
Use setup.py --install-lib instead of manually moving files around.
Modified:
packages/s3cmd/trunk/debian/rules
Modified: packages/s3cmd/trunk/debian/rules
===================================================================
--- packages/s3cmd/trunk/debian/rules 2009-04-13 00:42:39 UTC (rev 2729)
+++ packages/s3cmd/trunk/debian/rules 2009-04-13 08:41:48 UTC (rev 2730)
@@ -30,11 +30,9 @@
dh_prep
dh_installdirs
- S3CMD_PACKAGING=1 python setup.py install --no-compile --root $(PACKAGE_DIR)
+ S3CMD_PACKAGING=1 python setup.py install --no-compile \
+ --root $(PACKAGE_DIR) --install-lib /usr/share/s3cmd
rm -rf $(PACKAGE_DIR)/usr/lib/python*/site-packages/*.egg-info
- mv $(PACKAGE_DIR)/usr/lib/python*/site-packages/S3 $(PACKAGE_DIR)/usr/share/s3cmd
- rmdir $(PACKAGE_DIR)/usr/lib/python*/site-packages
- rmdir $(PACKAGE_DIR)/usr/lib/python*
binary-indep: install
dh_testdir
More information about the Python-apps-commits
mailing list