summaryrefslogtreecommitdiff
path: root/Mac/OSX
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-01-18 16:12:27 +0000
committerJack Jansen <jack.jansen@cwi.nl>2002-01-18 16:12:27 +0000
commit9addc054353026de90e126a9e99ddd108561c3fa (patch)
tree5c2df1785526f8da819d8e2a2401e6e3054c204f /Mac/OSX
parent3e2cbbf37cdd404dbf7e3ce19d4e5e4753f89dff (diff)
downloadcpython-9addc054353026de90e126a9e99ddd108561c3fa.tar.gz
Added a note that you have to add Mac/Lib to sys.path after doing
a "make installmacsubtree".
Diffstat (limited to 'Mac/OSX')
-rw-r--r--Mac/OSX/Makefile3
-rw-r--r--Mac/OSX/sample_sitecustomize.py4
2 files changed, 7 insertions, 0 deletions
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile
index 524969bdcf..d11f703a18 100644
--- a/Mac/OSX/Makefile
+++ b/Mac/OSX/Makefile
@@ -137,3 +137,6 @@ installmacsubtree:
esac; \
done; \
done
+ @echo '** Copy the contents of sample_sitecustomize.py (or similar code) into'
+ @echo '**' $(INSTALLDIR)/lib/python2.2/sitecustomize.py
+
diff --git a/Mac/OSX/sample_sitecustomize.py b/Mac/OSX/sample_sitecustomize.py
new file mode 100644
index 0000000000..09ab44fc27
--- /dev/null
+++ b/Mac/OSX/sample_sitecustomize.py
@@ -0,0 +1,4 @@
+import sys
+import os
+_maclib = os.path.join(sys.prefix, 'Mac/Lib')
+sys.path.append(_maclib) \ No newline at end of file