macports-users Digest, Vol 9, Issue 75
Derek Harland
derek at chocolate-fish.com
Mon May 21 21:39:57 PDT 2007
Hi Guillame
I can partially help shed light ... the python24 install by default
includes a Framework. Having only recently transitioned from solaris
to osx so I have no idea what the significance of that is beyond it
seeming to be a way of bundling libraries along with their headers
and other resources. [I'd like to know though .. anyone?]
As to the two site-packages ... the install is patched so that both
appear in the default path. You'll find that
(i) any packages that use distutils to install themselves (ie
setup.py style) will appear in /opt/local/lib/python2.4/site-packages
as distutils doesn't realise its on a mac as opposed to a generic
unix (os.name = 'posix')
(ii) any packages that handle their own install and try to munge
sys.prefix will end up in the Framework site-packages directory (as
sys.prefix=/opt/local/Library/Frameworks/Python.framework/Versions/2.4)
You can avoid building a framework if you install python24 with the
+puredarwin variant. I haven't actually done this myself but I
expect it would look like a bog standard linux/solaris install.
derek.
> Message: 9
> Date: Tue, 22 May 2007 10:50:10 +0900
> From: Guillaume Maury <gmaury-pm at xinlune.com>
> Subject: Python directories
> To: macports-users at lists.macosforge.org
> Message-ID: <BAB86E25-39E8-45B2-8E1D-A4D72210890D at xinlune.com>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> Hi,
>
> I've been using port for a while now (my installation on my ibook is
> around 2 or 3 years old) and I noticed something odd with my
> installation.
>
> It seems I have 2 python directories (along with corresponding site-
> package)
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/
> /opt/local/lib/python2.4/
>
> Does anybody know why?
>
> I also noticed that bazaar-ng was installed in /opt/local/lib/
> python2.4/site-packages along with its dependencies
> but the subversion bindings were installed in /opt/local/Library/
> Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages
>
>
> Thanks....
>
>
>
>
>
> ______________________________________________________________________
> _____
> Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et
> son interface révolutionnaire.
> http://fr.mail.yahoo.com
>
>
> ------------------------------
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
>
>
> End of macports-users Digest, Vol 9, Issue 75
> *********************************************
More information about the macports-users
mailing list