Bug 266761

Summary: python-setuptools installs site.py, conflict?
Product: [Fedora] Fedora Reporter: Neal Becker <ndbecker2>
Component: python-setuptoolsAssignee: Konstantin Ryabitsev <icon>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 7CC: a.badger
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-07 22:53:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Neal Becker 2007-08-30 12:05:14 UTC
Description of problem:

On x86_64, python-setuptools installs:
/usr/lib/python2.5/site-packages/site.py

Doesn't this conflict with:
/usr/lib64/python2.5/site.py?
 rpm -qf /usr/lib64/python2.5/site.py
python-2.5-12.fc7

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Toshio Ernie Kuratomi 2007-08-31 15:58:07 UTC
I believe this is by design although this:
  http://peak.telecommunity.com/DevCenter/Python25

says that site.py moved to site-patch.py.  Hmm...

Comment 2 Toshio Ernie Kuratomi 2007-09-05 19:44:13 UTC
Okay.  It looks like what happens is that setuptools includes site.py as
site-patch.py.  It then proceeds to install site.py for any package which
installs an egg.  This includes setuptools itself; thus the site.py installation.

setuptools needs to install this site.py file because it relies on using .pth
files to add eggs into the path before site-packages (python's site.py only
allows appending to the path.)

Neal, does the setuptools site.py actually break anything?


Comment 3 Toshio Ernie Kuratomi 2008-05-07 22:53:34 UTC
Closing bug as this is by design.  If it causes problemswe can revisit.