mirror of
https://github.com/python/cpython.git
synced 2026-05-12 13:30:47 +00:00
actual script to run in case we are running from an applet. If we are indeed running an applet we skip the normal option processing leaving it all to the applet code. This allows us to get use the normal python binary in the Python.app bundle, giving us all the normal command line options through PythonLauncher while still allowing Python.app to be used as the template for building applets. Consequently, pythonforbundle is gone, and Mac/Python/macmain.c isn't used on OSX anymore.
29 lines
No EOL
1.2 KiB
Text
29 lines
No EOL
1.2 KiB
Text
This directory contains a Makefile that will create a couple of python-related
|
|
applications (fullblown OSX .app applications, that is) in /Applications/Python,
|
|
and a hidden helper application Python.app inside the Python.framework. In addition
|
|
it has a target "installmacsubtree" that installs the relevant portions of the
|
|
Mac subtree into the Python.framework.
|
|
|
|
It is normally invoked indirectly through the main Makefile, as the last step
|
|
in the sequence
|
|
1. configure --enable-framework
|
|
2. make
|
|
3. make frameworkinstall
|
|
4. make osxapps
|
|
|
|
The interesting targets in the makefile are:
|
|
installmacsubtree - explained above,
|
|
dontinstallmacsubtree - Put only a .pth file into the framework (pointing to this
|
|
sourcetree), which may be easier for development,
|
|
install_all - install all three .app applications,
|
|
install_Python - install the hidden interpreter .app into the framework,
|
|
install_PythonLauncher - install the user-visible script launch helper
|
|
install_IDE - install the IDE
|
|
installunixprograms - install symlinks/scripts mimicking normal unix Python into
|
|
/usr/local.
|
|
|
|
|
|
Something to take note of is that the ".rsrc" files in the distribution are not
|
|
actually resource files, they're AppleSingle encoded resource files.
|
|
|
|
Jack Jansen, jack@oratrix.com, 02-Aug-02 |