[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: python-pytils



Mikhail Gusarov wrote:
> This eleminates .pyc's in the destdir, but does not eleminate .pyc's
> created in pytils/ which are created as a side-effect of importing
> pytils in the setup.py itself. Just compare:

[...]

I think we have a missunderstanding here, I'm speaking of this:

---snip---
@@ -3,11 +3,7 @@

 PACKAGE_NAME=python-pytils

-build: build-stamp
-
-build-stamp:
-       python setup.py build
-       touch $@
+build:

 clean:
        dh_testdir
@@ -25,7 +21,7 @@
        dh_testroot
        dh_clean -k

-       python setup.py install --root $(CURDIR)/debian/$(PACKAGE_NAME)
+       python setup.py install --no-compile --root
$(CURDIR)/debian/$(PACKAGE_NAME)
        rm -rf
debian/$(PACKAGE_NAME)/usr/lib/python*/site-packages/*.egg-info

 binary-indep: build install
---snap---

This change simplifies the rules file, makes the build a bit faster, and
does not have any influence on the binary packages.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/



Reply to: