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


Groups > comp.lang.python > #27967

Re: sys.path in python3.3

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.036
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'correct.': 0.07; 'behave': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '3.3.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.17; '3.2': 0.22; 'header:User-Agent:1': 0.26; '(which': 0.26; 'supported': 0.26; '2.6': 0.27; 'header:X -Complaints-To:1': 0.28; '3.1': 0.29; 'occurred': 0.29; 'worked': 0.30; 'actively': 0.30; 'code': 0.31; 'file': 0.32; 'could': 0.32; 'yours,': 0.33; 'to:addr:python-list': 0.33; 'changed': 0.34; 'path': 0.35; 'same.': 0.35; 'there': 0.35; 'received:org': 0.36; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'skip:" 10': 0.40; 'header:Received:5': 0.40; 'help': 0.40; 'your': 0.60; 'reply': 0.66; 'believe': 0.69; 'received:204': 0.72; 'article': 0.78; '2.7.': 0.84; 'cole': 0.84; 'received:204.14': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject Re: sys.path in python3.3
Date Mon, 27 Aug 2012 02:05:45 -0700
References <mailman.3849.1346006856.4697.python-list@python.org> <503b3247$0$6877$e4fe514c@news2.news.xs4all.nl>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 204.14.154.191
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3863.1346058357.4697.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1346058357 news.xs4all.nl 6988 [2001:888:2000:d::a6]:48639
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:27967

Show key headers only | 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