Re: Introducing pyp2rpm - A python package to rpm specfile convertor

2012-05-23 Thread Konstantin Zemlyak
Bohuslav Kabrda wrote: Thanks a lot... I didn't know that all the modules get imported during install... I guess moving that code somewhere to the archive class will do fine. Your own setup.py contains explicit import from pyp2rpmlib, thus monkeypatching happens even before setuptools/distri

Re: Introducing pyp2rpm - A python package to rpm specfile convertor

2012-05-23 Thread Bohuslav Kabrda
- Original Message - > Bohuslav Kabrda wrote: > >> line 154, in unpack_zipfile > >> data = z.read(info.filename) > >>File "/usr/lib64/python2.7/zipfile.py", line 869, in read > >> return self.open(name, "r", pwd).read() > >>File "/usr/lib64/python2.7/zipfile.py", line 683,

Re: Introducing pyp2rpm - A python package to rpm specfile convertor

2012-05-23 Thread Konstantin Zemlyak
Bohuslav Kabrda wrote: line 154, in unpack_zipfile data = z.read(info.filename) File "/usr/lib64/python2.7/zipfile.py", line 869, in read return self.open(name, "r", pwd).read() File "/usr/lib64/python2.7/zipfile.py", line 683, in __init__ raise RuntimeError, "That compressio

Re: Introducing pyp2rpm - A python package to rpm specfile convertor

2012-05-23 Thread Nick Coghlan
On 05/23/2012 06:00 PM, Bohuslav Kabrda wrote: > Yes, I can reproduce that. It seems to be a problem in the distribute package > (a.k.a. python-setuptools in Fedora). I released version 0.4.1, that uses > Python's internal distutils and should install fine. I will investigate this > issue and le

Re: Introducing pyp2rpm - A python package to rpm specfile convertor

2012-05-23 Thread Bohuslav Kabrda
- Original Message - > On 05/23/2012 04:57 PM, Bohuslav Kabrda wrote: > >> Regarding pyp2rpm itself, running "pip install pyp2rpm" (or > >> "easy_install pyp2rpm") on my Fedora 16 workstation gives me a > >> traceback > >> with "RuntimeError: That compression method is not supported". > >>

Re: Introducing pyp2rpm - A python package to rpm specfile convertor

2012-05-23 Thread Nick Coghlan
On 05/23/2012 04:57 PM, Bohuslav Kabrda wrote: >> Regarding pyp2rpm itself, running "pip install pyp2rpm" (or >> "easy_install pyp2rpm") on my Fedora 16 workstation gives me a >> traceback >> with "RuntimeError: That compression method is not supported". >> > > Hmm, that is really strange, this wo