[Pythonmac-SIG] Adding OS X frameworks to sys.path

Steve Reeves stever@gate.net
Wed, 6 Nov 2002 00:58:52 -0500


In the README for the OS X native Aqua port of Tcl/Tk, I found this:

> - Tcl extensions will be found in any of:
>     $HOME/Library/Tcl /Library/Tcl /Network/Library/Tcl /System/Library/Tcl
>     $HOME/Library/Frameworks /Library/Frameworks /Network/Library/Frameworks
>     /System/Library/Frameworks (searched in that order).
> Given a potential package directory $pkg, Tcl on OSX checks for the file
> $pkg/Resources/Scripts/pkgIndex.tcl as well as $pkg/pkgIndex.tcl (as usual).
> This allows building extensions as frameworks with all script files contained
> in the Resources/Scripts directory of the framework.

Can something like this be added to MachoPython?  The idea of packaging
Python extensions as separate frameworks has a certain appeal.

-- 
Steve Reeves
stever@gate.net