[MacPorts] #14912: py25-setuptools should include site.py
MacPorts
noreply at macports.org
Wed Sep 10 14:27:40 PDT 2008
#14912: py25-setuptools should include site.py
-------------------------------+--------------------------------------------
Reporter: stefan at sun.ac.za | Owner: stechert at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: python, easy_install, setuptools
Port: py25-setuptools |
-------------------------------+--------------------------------------------
Comment(by aalorbe at sandia.gov):
Replying to [comment:3 ryandesign@…]:
> Could you describe how it's broken without this file? py-setuptools and
py25-setuptools seem to work for me without this file.
So, it turns out it was not the file. Instead, I did the following to fix
the problem, '''after''' I reinstalled MacPorts from scratch:
* The problem is described here:[[BR]]
http://bugs.python.org/setuptools/issue4
* Went with the solutions listed in msg14 and msg56 of issue4 (messages
are repeated below). That is, from bottom up, first applied patch
described in http://bugs.python.org/file10198/setuptools_patch.txt
(navigated there by going to http://bugs.python.org/issue2770 and then
clicking on "setuptools_patch.txt") and then added "from distutils import
log" to top of sdist.py)
* For reference:
{{{
msg56 (view) Author: gsf Date: 2008-07-11.19:59:34
In addition to the patch, sdist.py should include "from distutils import
log" --
that's where the error is coming from.
msg14 (view) Author: durin42 Date: 2008-05-12.18:15:58
There's a patch which fixes the underlying problem (although not the
missing
import of log) at http://bugs.python.org/issue2770 which was marked as a
duplicate
of this issue.
}}}
I'm not sure if the initial error message I got was because my
installation of MacPorts was screwed up, but when I reinstalled from
scratch I got the same error as described in
http://bugs.python.org/setuptools/issue4
I think everyone else is going to get the same error until one of the many
fixes described in http://bugs.python.org/setuptools/issue4 is
implemented.
--
Ticket URL: <http://trac.macports.org/ticket/14912#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list