summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-09-11 11:30:02 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-09-11 11:30:02 (GMT)
commit408c16fad0a67496bb3e0cbea37cf0a79ecdaf36 (patch)
treec8f1485df16ca25b5a01f549b43e5b7c8791d4ec /Mac
parent6438e1d280167a9dcf0eb82bb7b7aff11b082a59 (diff)
downloadcpython-408c16fad0a67496bb3e0cbea37cf0a79ecdaf36.zip
cpython-408c16fad0a67496bb3e0cbea37cf0a79ecdaf36.tar.gz
cpython-408c16fad0a67496bb3e0cbea37cf0a79ecdaf36.tar.bz2
Added a note about making sure the Lac/Lib directory is in sys.path.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/OSX/README10
1 files changed, 8 insertions, 2 deletions
diff --git a/Mac/OSX/README b/Mac/OSX/README
index b759e48..4d50a87 100644
--- a/Mac/OSX/README
+++ b/Mac/OSX/README
@@ -15,14 +15,20 @@ To create a fullblown Python.app proceed as follows.
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.
-
+6. To actually find the Lib directory installed in step 5 you add a line
+ to your site.py file (the one in /Library/Frameworks/....):
+ sys.path.append(os.path.join(sys.prefix, 'Mac/Lib'))
+
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).
+For some reason the application only accepts files with TEXT type, not straight unix
+typeless files.
+
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
+ Jack Jansen, jack@oratrix.com, 11-Sep-01. \ No newline at end of file