On Nov 25, 2007 5:01 PM, Alex Holkner <[EMAIL PROTECTED]> wrote:
> The setup program can't search for arbitrary locations, but if you
> give me the absolute path to the lib/python2.x/site-packages directory
> used by macports, I can add that as one of its built-in places to
> check.

I've installed both python 2.4 and 2.5 via MacPorts.  Note that
MacPorts provides the binaries /opt/local/bin/python2.4 and
/opt/local/bin/python2.5 which don't collide with the system-provided
python (/usr/bin/python) unless the user both puts /opt/local/bin in
their path AND creates an /opt/local/bin/python symlink.

$ find /opt -name *site-packages*
/opt/local/lib/python2.4/site-packages
/opt/local/lib/python2.5/site-packages
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages

I wondered why the python 2.4 installation had two site-packages
directories.  With some testing, I discovered that the
macports-installed python 2.5 version can see my pyglet module.  Cool.
 Weird, but cool.  It must look in the system's 2.5 site-packages
directory.  Unfortunately, it appears that most of the macports
python-related stuff is still using python 2.4.

~ Nathan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to