]> granicus.if.org Git - python/commitdiff
Added a note that you have to add Mac/Lib to sys.path after doing
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 18 Jan 2002 16:12:27 +0000 (16:12 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 18 Jan 2002 16:12:27 +0000 (16:12 +0000)
a "make installmacsubtree".

Mac/OSX/Makefile
Mac/OSX/sample_sitecustomize.py [new file with mode: 0644]

index 524969bdcfc930251191a2d35473f28cd65ad36f..d11f703a1809e7e4285cad75e669deae95bd1afb 100644 (file)
@@ -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 (file)
index 0000000..09ab44f
--- /dev/null
@@ -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