diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-01-18 16:12:27 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-01-18 16:12:27 (GMT) |
commit | 109f0945e4d424176ffc51d7f76af9f5ac521841 (patch) | |
tree | a04139e1ede855ffbc5b793b91f3a354f3c3a838 | |
parent | 43b936d08c51726205123ae1af5c5f8b5d3b6fcb (diff) | |
download | cpython-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".
-rw-r--r-- | Mac/OSX/Makefile | 3 | ||||
-rw-r--r-- | Mac/OSX/sample_sitecustomize.py | 4 |
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 |