Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #27967

Re: sys.path in python3.3

From Ned Deily <nad@acm.org>
Subject Re: sys.path in python3.3
Date 2012-08-27 02:05 -0700
References <mailman.3849.1346006856.4697.python-list@python.org> <503b3247$0$6877$e4fe514c@news2.news.xs4all.nl>
Newsgroups comp.lang.python
Message-ID <mailman.3863.1346058357.4697.python-list@python.org> (permalink)

Show all headers | View raw


In article <503b3247$0$6877$e4fe514c@news2.news.xs4all.nl>,
 Hans Mulder <hansmu@xs4all.nl> wrote:
> On 26/08/12 20:47:34, Nicholas Cole wrote:
> It has been changed to
> 
> ~/Library/Python/$py_version_short/lib/python/site-packages
> 
> You can find the path it's looking for in site.USER_SITE

That is correct.

> It would be nice if there were some magic code you could use
> for "install_lib" in your .pydistutils.cfg file that worked
> in both 3.2 and 3.3.

As I explained in my reply that overlapped with yours, I believe you 
will find that 3.2 and 3.3 behave the same.   The difference is with 3.1 
(which is no longer supported); likewise, the same change occurred in 
2.7.  So all of the current actively supported released behave the same 
way.  That's not much help if you need to use 2.6 or 3.1.

-- 
 Ned Deily,
 nad@acm.org

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

sys.path in python3.3 Nicholas Cole <nicholas.cole@gmail.com> - 2012-08-26 19:47 +0100
  Re: sys.path in python3.3 Hans Mulder <hansmu@xs4all.nl> - 2012-08-27 10:39 +0200
    Re: sys.path in python3.3 Ned Deily <nad@acm.org> - 2012-08-27 02:05 -0700
    Re: sys.path in python3.3 Nicholas Cole <nicholas.cole@gmail.com> - 2012-08-27 10:29 +0100

csiph-web