On Fri, Mar 12, 2010 at 12:20 PM, Lennart Regebro <[email protected]> wrote:
> What exactly is site.py for? I tried installing Distribute with PyPy,
> and it fails, because if you start it, it runs site.py, and site.py
> uses makepath, but doesn't import or define it, so it fails.

Eh? I see

def makepath(*paths):
    dir = os.path.abspath(os.path.join(*paths))
    return dir, os.path.normcase(dir)

around line 75 of site.py in the python 2.6 source tree. Maybe PyPy
has its own broken copy?

> Running the tests with python2.6 and it seems site.py is never run,

How do you know?

> but removing it makes the tests fail.
>
> Any insight into this?

-- 
--Guido van Rossum (python.org/~guido)
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to