Description of problem:
The python-flask RPM owns /usr/lib/python2.7/site-packages/easy-install.pth, which breaks eggs locally installed with easy_install.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use easy_install to install an egg from pypi
2. yum install python-flask
The local egg stops working because /usr/lib/python2.7/site-packages/easy-install.pth has been clobbered with a bogus version that points to a temporary build directory.
$ rpm -qf /usr/lib/python2.7/site-packages/easy-install.pth
$ cat /usr/lib/python2.7/site-packages/easy-install.pth
import sys; sys.__plen = len(sys.path)
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)
python-flask RPM has no business owning /usr/lib/python2.7/site-packages/easy-install.pth. This file should just be removed from the RPM.
Created attachment 532960 [details]
don’t own easy-install.pth
python-flask-0.7.2-2.fc16 has been submitted as an update for Fedora 16.
python-flask-0.6.1-3.fc15 has been submitted as an update for Fedora 15.
(In reply to comment #0)
> Description of problem:
> The python-flask RPM owns /usr/lib/python2.7/site-packages/easy-install.pth,
> which breaks eggs locally installed with easy_install.
Thanks for reporting this. I've committed that patch and built RPMs for f15 and f16.
The f15 and f16 packages have been submitted to Bodhi as testing updates. Please test and leave feedback on the Bodhi page:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-flask-0.6.1-3.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
python-flask-0.6.1-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
python-flask-0.7.2-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.