[py-dev] Intent To Package (ITP) for Debian

Bob Tanner tanner at real-time.com
Fri Nov 11 19:46:17 CET 2005


Hello upstream developers of pylib. 

I'm working on a debian package for pylib and have some feedback. 

Please do not take any of my comments personally. I'm just trying to make my 
job easier :-) at the same time make recommendations on how to make pylib 
more Debian compliant.

1. svn snapshot from 2005/11/11 has .gif/.png in /usr/lib, according to 
Filesystem Hierarchy Standard (FHS) architecture-independent files need to be 
placed within /usr/share instead

2. Finding python scripts that by default aren't executable on installation, 
should these scripts be executable?

/usr/lib/python2.4/site-packages/py/compat/testing/_findpy.py
/usr/lib/python2.4/site-packages/py/compat/testing/test_optparse.py
/usr/lib/python2.4/site-packages/py/misc/cmdline/countloc.py

/usr/lib/python2.4/site-packages/py/compat/testing/_findpy.py and 
/usr/bin/_findpy.py  (see below) look to be the same script, can one or the 
other be removed?

3. The install puts /usr/bin/pytest.cmd in place on linux, this looks to be a 
DOS batch file, I don't think it should be installed when the os is linux.

4. Debian requires anything in /usr/bin to have a manpage. I have found 
help2man to be very useful and maintaining manpages from the -h (--help) and 
-v (--version) of the program.

/usr/bin/_findpy.py         
/usr/bin/py.cleanup   
/usr/bin/py.lookup 
/usr/bin/py.test
/usr/bin/_makepyrelease.py  
/usr/bin/py.countloc  
/usr/bin/py.rest    

I'd also like feedback on the _findpy.py and _makepyrelease.py, should they be 
in a "production" package or are the development tools? The underscore breaks 
Debian executable naming policy.

5. Good news is even with the Debian "problems"  the code works great.

$ py.test test/
<snip>
tests finished: 138 passed in 19.18 seconds


I'm happy to submit patches if you are willing to accept them for review. I 
much rather have things put into upstream code then maintain separate patches 
for Debian.

Look forward to your (collective) responses.

Thanks.

-- 
Bob Tanner <tanner at real-time.com>          | Phone : (952)943-8700
http://www.real-time.com, Minnesota, Linux | Fax   : (952)943-8500
Key fingerprint = AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://codespeak.net/pipermail/py-dev/attachments/20051111/b1eb2748/attachment.pgp


More information about the py-dev mailing list