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


Groups > comp.lang.python > #21579

Re: Installing Python Apps on Mac Lion

References <2ffee45b-8987-4fb4-8c8b-c1eed728e890@glegroupsg2000goo.googlegroups.com> <15535377.495.1331656930882.JavaMail.geo-discussion-forums@ynje4>
Date 2012-03-13 15:28 -0400
Subject Re: Installing Python Apps on Mac Lion
From Benjamin Kaplan <benjamin.kaplan@case.edu>
Newsgroups comp.lang.python
Message-ID <mailman.624.1331666928.3037.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Mar 13, 2012 at 12:42 PM, <dilvanezanardine@gmail.com> wrote:
>
> Sábado, 25 de Junho de 2011 02h20min49s UTC+1, JKPeck escreveu:
> > The Lion version of the OS on the Mac comes with Python 2.7 installed,
> > but it is in /System/Library/Frameworks/..., and this area is not writable
> > by third party apps.
> >
> > So is there a consensus on what apps that typically install under the
> > Python site-packages directory should do in this situation?  Installing
> > Python from python.org puts it in the writable area
> > /Library/Frameworks/Python.framework.
> >
> > So, what should a Python app installer do?
> >
> > Thanks
>
> Hello,
>
> currently I have:
>
> /Library/Python/2.7/
> /Library/Frameworks/Python.framework/Versions/2.7/
> /Users/user/Library/Python/2.7/
>
> With 3 folders "site-packages" and do not know why.
> What's the difference?
>
> Thanks.
>

If I had to take a guess, having not played too much with Lion:

/Library/Python/2.7 is for user-installed packages for the system
python that are installed for all users.
/Library/Frameworks/... is for the user-installed Python (that's where
it's always gone)
/Users/user/Library... is for user-installed packages for the system
Python that are only installed for the specific user.

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


Thread

Re: Installing Python Apps on  Mac Lion dilvanezanardine@gmail.com - 2012-03-13 09:42 -0700
  Re: Installing Python Apps on Mac Lion Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-03-13 15:28 -0400

csiph-web