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

Re: RFS: python-pytils



Twas brillig at 17:02:02 01.01.2007 UTC+01 when Daniel Baumann did gyre and gimble:

 DB> i don't understand why you have to wait for upstream, *how* you
 DB> write things in debian/copyright is not determined by upstream,
 DB> only *what* you write.

Normal GPL blurb includes copyright years, which are not currently
available in source code. That's the "what" piece missing. If you
think we may just put "2006", then ok, I will do it.

 DB> well, the proper way to do it here now is:

 DB>   * replace the build: target with just
 DB> ---snip---
 DB> build:
 DB> ---snap---

 DB> and

 DB>   * pass a --no-compile to the setyp.py install call in install:

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:

[~/build/python-pytils-0.2.0]% python setup.py install --no-compile --root tmp
running install
<...>
running install_scripts
[~/build/python-pytils-0.2.0]% find . -name '*.py[co]'                        
./pytils/test/__init__.pyc
./pytils/__init__.pyc
./pytils/numeral.pyc
./pytils/utils.pyc
./pytils/dt.pyc
./pytils/translit.pyc
[~/build/python-pytils-0.2.0]%

And

[~/build/python-pytils-0.2.0]% python setup.py install --root tmp             
running install
<...>
running install_scripts
[~/build/python-pytils-0.2.0]% find . -name '*.py[co]'           
./pytils/test/__init__.pyc
./pytils/__init__.pyc
./pytils/numeral.pyc
./pytils/utils.pyc
./pytils/dt.pyc
./pytils/translit.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/test/__init__.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/test/test_dt.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/test/test_numeral.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/test/test_translit.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/test/test_utils.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/templatetags/__init__.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/templatetags/pytils_dt.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/templatetags/pytils_numeral.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/templatetags/pytils_translit.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/__init__.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/dt.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/numeral.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/translit.pyc
./tmp/usr/lib/python2.4/site-packages/pytils/utils.pyc
[~/build/python-pytils-0.2.0]% 

-- 
JID: dottedmag@jabber.dottedmag.net



Reply to: