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


Groups > comp.lang.python > #21574 > unrolled thread

Re: Installing Python Apps on Mac Lion

Started bydilvanezanardine@gmail.com
First post2012-03-13 09:42 -0700
Last post2012-03-13 15:28 -0400
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#21574 — Re: Installing Python Apps on Mac Lion

Fromdilvanezanardine@gmail.com
Date2012-03-13 09:42 -0700
SubjectRe: Installing Python Apps on Mac Lion
Message-ID<15535377.495.1331656930882.JavaMail.geo-discussion-forums@ynje4>
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.

[toc] | [next] | [standalone]


#21579 — Re: Installing Python Apps on Mac Lion

FromBenjamin Kaplan <benjamin.kaplan@case.edu>
Date2012-03-13 15:28 -0400
SubjectRe: Installing Python Apps on Mac Lion
Message-ID<mailman.624.1331666928.3037.python-list@python.org>
In reply to#21574
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.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web