sys.path in python3.3

Ned Deily nad at acm.org
Sun Aug 26 17:23:13 EDT 2012


In article 
<CAAu18hc8tKnuCqcoiOVyPa1yc9QgvU-BqUOe91r7G3Ye8HG9NA at mail.gmail.com>,
 Nicholas Cole <nicholas.cole at gmail.com> wrote:

> On Sun, Aug 26, 2012 at 8:21 PM, Ned Deily <nad at acm.org> wrote:
> > In article
> > <CAAu18hc7katbONp7A+-A1pyE8BYySgfaC4FHHKSD8peeQjLMbg at mail.gmail.com>,
> >  Nicholas Cole <nicholas.cole at gmail.com> wrote:
> >> In all previous versions of python, I've been able to install packages
> >> into the path:
> >>
> >> ~/Library/Python/$py_version_short/site-packages
> >>
> >> but in the rc builds of python 3.3 this is no longer part of sys.path.
> >>
> >> Before I go hacking the install, is there a reason that this path was
> >> removed?  Is there a recommended way to get it back, or is this a
> >> gentle way of pushing us all to use virtualenv rather than installing
> >> user-specific packages?
> >
> > It should be working if you are using an OS X framework build.  What is
> > the value of sys.path?
> 
> I'm using the compiled version supplied by python.org.

The directory needs to exist otherwise the path is not included (see 
site.py).

-- 
 Ned Deily,
 nad at acm.org




More information about the Python-list mailing list