Re-Request for review: pytz and python-dateutil

Jose' Matos jamatos at fc.up.pt
Sat Jul 23 19:32:06 UTC 2005


On Friday 22 July 2005 21:47, Orion Poplawski wrote:
> >   - Is it really necessary to make all python files executable? I don't
> > see this rule anywhere...
> >
> >   If the last item is supported by any more experienced packager then
> > consider this as approved.
>
> I think I did it to shutup a rpmlint warning about non-executable
> scripts.  If it does no harm (?) I'll leave it in.

  Where?

  Note that you don't use this in python-dateutil and everything works as 
expected.

  I noticed also that as an example rpm-python from Core:
$ ll `rpm -ql rpm-python`
...
/usr/lib/python2.4/site-packages/rpm:
total 128
-rwxr-xr-x  1 root root    296 Jul 13 16:44 __init__.py
-rw-r--r--  1 root root    428 Jul 20 12:06 __init__.pyc
-rwxr-xr-x  1 root root 115000 Jul 13 16:45 _rpmmodule.so

/usr/lib/python2.4/site-packages/rpmdb:
total 152
-rwxr-xr-x  1 root root  9207 Jul 13 16:44 dbobj.py
-rwxr-xr-x  1 root root  2180 Jul 13 16:44 db.py
-rwxr-xr-x  1 root root  5285 Jul 13 16:44 dbrecio.py
-rwxr-xr-x  1 root root  8671 Jul 13 16:44 dbshelve.py
-rwxr-xr-x  1 root root 25181 Jul 13 16:44 dbtables.py
-rwxr-xr-x  1 root root  2802 Jul 13 16:44 dbutils.py
-rwxr-xr-x  1 root root 11956 Jul 13 16:44 __init__.py
-rwxr-xr-x  1 root root 66996 Jul 13 16:45 _rpmdb.so

  I can understand why the shared libraries are marked as executables but I 
don't see a reason for python files outside of a */bin directory being like 
that.

> - Orion




More information about the fedora-extras-list mailing list