[Python-modules-commits] r20655 - in packages/python-simpy/trunk/debian (rules)

dandrimont-guest at users.alioth.debian.org dandrimont-guest at users.alioth.debian.org
Fri Mar 2 17:53:28 UTC 2012


    Date: Friday, March 2, 2012 @ 17:53:25
  Author: dandrimont-guest
Revision: 20655

Add clean rules for python3 too

Modified:
  packages/python-simpy/trunk/debian/rules

Modified: packages/python-simpy/trunk/debian/rules
===================================================================
--- packages/python-simpy/trunk/debian/rules	2012-03-02 17:52:35 UTC (rev 20654)
+++ packages/python-simpy/trunk/debian/rules	2012-03-02 17:53:25 UTC (rev 20655)
@@ -46,4 +46,10 @@
 override_dh_auto_clean:
 	dh_auto_clean
 
+	set -e; for version in $(PY3VERSIONS); do \
+	  python$$version setup.py clean; \
+	done
+
+	rm -rf SimPy/__pycache__/
+
 	if [ -d docs/html.old ]; then make -C docs clean && mv docs/html.old docs/html; fi




More information about the Python-modules-commits mailing list