Bug 266761 - python-setuptools installs site.py, conflict?
Summary: python-setuptools installs site.py, conflict?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-setuptools
Version: 7
Hardware: x86_64
OS: All
medium
medium
Target Milestone: ---
Assignee: Konstantin Ryabitsev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-08-30 12:05 UTC by Neal Becker
Modified: 2008-05-07 22:53 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-05-07 22:53:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.