Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'correct.': 0.07; 'properly.': 0.07; 'suppose': 0.07; 'answering': 0.09; 'behave': 0.09; 'length.': 0.09; 'received:mail-vc0-f174.google.com': 0.09; 'cc:addr:python-list': 0.10; '2.7': 0.13; 'aug': 0.13; '10:05': 0.16; '3.3.': 0.16; 'mon,': 0.16; 'wrote:': 0.17; '3.2': 0.22; 'cc:2**0': 0.23; "python's": 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; '(which': 0.26; 'supported': 0.26; 'am,': 0.27; '2.6': 0.27; 'forgot': 0.27; 'message-id:@mail.gmail.com': 0.27; 'correct': 0.28; '3.1': 0.29; 'occurred': 0.29; 'received:209.85.220.174': 0.29; 'probably': 0.29; "i'm": 0.29; 'worked': 0.30; 'actively': 0.30; 'code': 0.31; 'file': 0.32; 'could': 0.32; 'wishes,': 0.33; 'yours,': 0.33; 'changed': 0.34; 'received:google.com': 0.34; 'path': 0.35; 'same.': 0.35; 'especially': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'thank': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'things': 0.38; 'sure': 0.38; 'where': 0.40; 'skip:" 10': 0.40; 'header:Received:5': 0.40; 'help': 0.40; 'think': 0.40; 'your': 0.60; 'first': 0.61; 'ever': 0.63; 'love': 0.63; 'dear': 0.66; 'reply': 0.66; 'believe': 0.69; 'article': 0.78; '2.7.': 0.84; 'cole': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PWO1Z6SXYw9ueHswhp9iGCDa+GbFwhBe7VGn6Xz+1WQ=; b=KGpkrEjHrT6kluF9SSZsKPQK7SJl4ePP4xvKL6KPFgVP30bLwyk5lnNjnYMNfGjrge aOe8AeG/tQs6Xt/XQpp5RLaepwfjk10oX4RuuSKbe78SH21r3zab0coj5cM/VCTN62qF jaxKmv4hA7CJu8bdIzVM+mSgkqH6GMOFQ9KxynLFQWV7Bg0YM2gtHLkmL6Il01UDVqyw +IWHvi9ctp0WusMceyQpHGXQ1LXwRmiF0cYHk0Ng/T9SfGIV22G1YxOtluPNu5dzD3Jv LEB/dtBcLXvi/KWQ6TuxqGnKnYDBRXURvG8+uSZS6R8LFripFAtfa1j7FvvUIVzGKPyb QOpA== MIME-Version: 1.0 In-Reply-To: References: <503b3247$0$6877$e4fe514c@news2.news.xs4all.nl> Date: Mon, 27 Aug 2012 10:29:10 +0100 Subject: Re: sys.path in python3.3 From: Nicholas Cole To: Ned Deily Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 38 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346059753 news.xs4all.nl 6950 [2001:888:2000:d::a6]:52949 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:27968 On Mon, Aug 27, 2012 at 10:05 AM, Ned Deily wrote: > In article <503b3247$0$6877$e4fe514c@news2.news.xs4all.nl>, > Hans Mulder 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. Dear Hans and Ned, Thank you both for your answers, and Ned, thank you especially for answering at such length. I do love the things that are "documented if you know where to look." I'm by no means a stranger to python's documentation, but I am sure that I would never, ever have found it. Now that I come to think of it, I think I probably hit this when I first had a look at 2.7, put in a sym-link and forgot all about it. I suppose that now that 2.7 is the default on OS X, I suppose it is time to move to the correct directory properly. Very best wishes, Nicholas