From 109f0945e4d424176ffc51d7f76af9f5ac521841 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 18 Jan 2002 16:12:27 +0000 Subject: Added a note that you have to add Mac/Lib to sys.path after doing a "make installmacsubtree". --- Mac/OSX/Makefile | 3 +++ Mac/OSX/sample_sitecustomize.py | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 Mac/OSX/sample_sitecustomize.py 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 -- cgit v0.12