[Pythonmac-SIG] Optional BSD package is required for
(useable) Python?
Glenn Andreas
gandreas at delver.com
Tue May 11 16:37:25 EDT 2004
> > I really don't think it's a big deal to simply tell the naive users who
>> go out of their way to deselect the BSD layer that they screwed up and
>> now they have to install it if they want to use your software. It's
>> not that hard to determine the presence of the BSD layer.
>
>So why can't packaged apps use the bundle Python too? From some of
>the other emails I got the idea that Python was unusable without the
>BSD layer installed,
There is no "bundle Python" without the BSD layer (so I have no idea
how the fax cover sheet or PDF workflow could work without it).
lsbom MacOSX10.3.pkg/Contents/Archive.bom | grep python
./Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Python.framework
40775 0/80
./Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Python.framework/Headers
120775 0/80 24 2473506787 Versions/Current/Headers
./Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Python.framework/Python
120775 0/80 23 914784009 Versions/Current/Python
./Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Python.framework/Versions
40775 0/80
./Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Python.framework/Versions/2.3
40775 0/80
./Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/Headers
120775 0/80 17 385844800 include/python2.3
./Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/Python
100775 0/80 89832 1576120760
./Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include
40775 0/80
./Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3
40775 0/80
./Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/Python.h
100664 0/80 3927 1440136318
[more header files]
./Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Python.framework/Versions/Current
120775 0/80 3 541161345 2.3
All that is installed with the base 10.3 is the Python.Framework
directory structure, and the "current" headers/shared library.
lsbom BSD.pkg/Contents/Archive.bom | grep /bin/python
./System/Library/Frameworks/Python.framework/Versions/2.3/bin/python
100755 0/0 22100 1168592703
./System/Library/Frameworks/Python.framework/Versions/2.3/bin/python2.3
100755 0/0 22100 1168592703
./usr/bin/python 120755 0/0 9 674368981 python2.3
./usr/bin/python2.3 120755 0/0 72 704285156
../../System/Library/Frameworks/Python.framework/Versions/2.3/bin/python
./usr/bin/pythonw 120755 0/0 10 14599298 pythonw2.3
./usr/bin/pythonw2.3 100755 0/0 122 3516629244
It's the BSD pkg that installs the python that lives inside the
framework, and then links /usr/bin/python to /usr/bin/python2.3 (and
then that to the one that lives in the framework). (The BSD.pkg also
installs all the .py and .pyc files found in
Python.framework/Versions/2.3/lib/python2.3, etc...)
--
Glenn Andreas gandreas at gandreas.com
mondo blobbo, Cythera, Theldrow, oh my!
Mad, Bad, and Dangerous to Know
More information about the Pythonmac-SIG
mailing list