Re: [Distutils] pypi and easy_install

At 06:39 PM 1/16/2008 +0100, Giampaolo Rodola' wrote:
2008/1/16, Phillip J. Eby pje@telecommunity.com:
At 03:48 PM 1/16/2008 +0100, Giampaolo Rodola' wrote:
Unfortunately the distutils.archive_util module was written before tarfile was available.
Are there chances to see this implemented?
Are you volunteering? :) If so, then perhaps you can get a patch in for Python 2.6.
Uhm... why not? :-) If someone could give me some pointers on nailing down the issue I could give it a try (note: never seen distutils internals before).
See the distutils.archive_util module - the disutils uses that for all its archive creation.
My only concern is that it's not rare that patches provided by users are often ignored and they remains stagnant on the Python bug tracker. I just wouldn't spend time on that for nothing.
Well, I can review the patch and commit it, if I like it. :)

2008/1/16, Phillip J. Eby pje@telecommunity.com:
At 06:39 PM 1/16/2008 +0100, Giampaolo Rodola' wrote:
2008/1/16, Phillip J. Eby pje@telecommunity.com:
At 03:48 PM 1/16/2008 +0100, Giampaolo Rodola' wrote:
Unfortunately the distutils.archive_util module was written before tarfile was available.
Are there chances to see this implemented?
Are you volunteering? :) If so, then perhaps you can get a patch in for Python 2.6.
Uhm... why not? :-) If someone could give me some pointers on nailing down the issue I could give it a try (note: never seen distutils internals before).
See the distutils.archive_util module - the disutils uses that for all its archive creation.
My only concern is that it's not rare that patches provided by users are often ignored and they remains stagnant on the Python bug tracker. I just wouldn't spend time on that for nothing.
Well, I can review the patch and commit it, if I like it. :)
Ok. I should find some time for trying to work on this this week. I'll keep you updated.
Thanks.

Ok, I tried to implement this and it is seems I made it. The change permit to use the distutils "--formats=tar,gztar,bztar" option without need of having tar/gzip/bzip2 utilities installed on the system. Don't know if distutils test suite includes tests for the part of code I modified but Lib/test/test_distutils.py run successfully on Python 2.5.1.
The only compression format currently left out is ztar. I may be wrong but I haven't seen modules able to work with that format in the Python stdlib.
I'll wait for your review. Tell me if you want me to open a ticket on the Python bug tracker to let also other users review the patch, modify something or throw the whole thing away. :-)
Giampaolo
2008/1/17, Giampaolo Rodola' billiejoex@gmail.com:
2008/1/16, Phillip J. Eby pje@telecommunity.com:
At 06:39 PM 1/16/2008 +0100, Giampaolo Rodola' wrote:
2008/1/16, Phillip J. Eby pje@telecommunity.com:
At 03:48 PM 1/16/2008 +0100, Giampaolo Rodola' wrote:
> Unfortunately the distutils.archive_util module was written before > tarfile was available.
Are there chances to see this implemented?
Are you volunteering? :) If so, then perhaps you can get a patch in for Python 2.6.
Uhm... why not? :-) If someone could give me some pointers on nailing down the issue I could give it a try (note: never seen distutils internals before).
See the distutils.archive_util module - the disutils uses that for all its archive creation.
My only concern is that it's not rare that patches provided by users are often ignored and they remains stagnant on the Python bug tracker. I just wouldn't spend time on that for nothing.
Well, I can review the patch and commit it, if I like it. :)
Ok. I should find some time for trying to work on this this week. I'll keep you updated.
Thanks.
participants (2)
-
Giampaolo Rodola'
-
Phillip J. Eby