diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-06 16:36:42 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-06 16:36:42 (GMT) |
commit | 0511b764d1eba1e4f24b273ee3527c8ffcefb714 (patch) | |
tree | 225efa25360803b32935cecc204c03eae4444b30 /Mac/OSX | |
parent | 638e5e39cf4c6994e46e2810b43dfd7856495a90 (diff) | |
download | cpython-0511b764d1eba1e4f24b273ee3527c8ffcefb714.zip cpython-0511b764d1eba1e4f24b273ee3527c8ffcefb714.tar.gz cpython-0511b764d1eba1e4f24b273ee3527c8ffcefb714.tar.bz2 |
Minimal instructions for using the Makefile here. Also a clear
statement that this is a proof-of-concept meant for people to
experiment with, nothing more.
Diffstat (limited to 'Mac/OSX')
-rw-r--r-- | Mac/OSX/README | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Mac/OSX/README b/Mac/OSX/README new file mode 100644 index 0000000..b759e48 --- /dev/null +++ b/Mac/OSX/README @@ -0,0 +1,28 @@ +This directory contains a Makefile that will create a proof-of-concept +Mac OS X application for Python. The process is far from streamlined, +and it will definitely change in future releases of Python, but I wanted to +include this in the current distribution so people could play with it. + +To create a fullblown Python.app proceed as follows. + +1. In the main Python source directory configure python with + configure --enable-framework --with-suffix +2. Do a "make clean" if you did a previous build, then "make". +3. Install this as a framework with "make frameworkinstall". This puts a Python + framework into /Library/Frameworks. +4. Come back here (Mac/OSX) and build and install the application, + with "make install". +5. It is probably a good idea to add the Mac-specific modules to the framework, + with "make installmacsubtree". This puts a MacPython lib directory into + sys.prefix/Mac/Lib. Again, this is a temporary measure. + +You are now done. In your Applications you should have a "Python", with the icon +being a falling 16 Ton weight with a shadow under it. You can drop Python scripts +on this and the will be run, in a full-windowing environment. Note that you +do not get sys.stdin, and that sys.stdout goes to the console (Use +Applications/Utilities/Console to see it). + +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, 6-Sep-01.
\ No newline at end of file |