[Pythonmac-SIG] py-appscript problem in crontab
Ned Deily
nad at acm.org
Fri Feb 29 04:55:37 CET 2008
In article <47C76BE1.20008 at wheel.org>, tom wible <airdrummer at wheel.org>
wrote:
> > version (0.18.1) in both Pythons
>
> so why does the python2.5 installer put it in /Lib... & not /System/Lib...
> anyway? will some system scripts fail if i point /system/lib/current to 2.5?
The python installed under /System/Library is installed and updated by
Apple as a part of OSX. The general rule is the file system space under
/System is owned by Apple and OSX; third-parties, including users and
ISVs, should not remove or rename any existing files there. That's why
the MacPython 2.5.x distribution installs in /Library, the MacPorts
version in /opt/local, and the Fink version in /sw. The good news is
that they all co-exist with each other and with the Apple-installed
python. The only "trick" is to make sure you're invoking the expected
python. From a shell (terminal command line), one way to do that is by
manipulating shell environment variables (e.g. PATH) to ensure the
desired python is found first. The installer for MacPython 2.5.x (from
python.org) has a package to do that for you. Another way to get the
desired Python is to explicitly reference the python you want (see
followup reply).
--
Ned Deily,
nad at acm.org
More information about the Pythonmac-SIG
mailing list