summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-01-18 16:12:27 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-01-18 16:12:27 (GMT)
commit109f0945e4d424176ffc51d7f76af9f5ac521841 (patch)
treea04139e1ede855ffbc5b793b91f3a354f3c3a838 /Mac
parent43b936d08c51726205123ae1af5c5f8b5d3b6fcb (diff)
downloadcpython-109f0945e4d424176ffc51d7f76af9f5ac521841.zip
cpython-109f0945e4d424176ffc51d7f76af9f5ac521841.tar.gz
cpython-109f0945e4d424176ffc51d7f76af9f5ac521841.tar.bz2
Added a note that you have to add Mac/Lib to sys.path after doing
a "make installmacsubtree".
Diffstat (limited to 'Mac')
-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 524969b..d11f703 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 0000000..09ab44f
--- /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