[Pythonmac-SIG] Can I move the MacPython-2.3 folder?

bob at redivi.com bob at redivi.com
Fri Aug 1 11:18:56 EDT 2003


On Fri, Aug 01, 2003 at 09:02:23AM -0400, Schollnick, Benjamin wrote:
> 
> > Things will break in the future, though: in one of the 
> > PackMan threads 
> > we discuss installing
> > documentation and sample code into /Applications/MacPython-2.3/Extras.
> 
> Why hard code the directory?
> 
> You can find out where python is running simply by getting the directory
> path...
> or if you insist on hard coding....
> 
> "./Extras" would work.... As long as in the python directory...
> 
> IMHO, Anything that has a absolute path will eventually break... Or run into
> a problem...
> 
> For example, remember Apple's issues with the Itunes v3.00 release, where it
> accidently "deleted" entire hard drives due to absolute path issues?

Python isn't there, python is in /Library/Frameworks/..../.  Python has no idea where MacPython-2.3 is.  The only way to keep track of it would be to keep an alias inside the Python.framework, and even that would only work if they kept it on the same volume.

-bob



More information about the Pythonmac-SIG mailing list