summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-09-13 18:39:04 (GMT)
committerGuido van Rossum <guido@python.org>1995-09-13 18:39:04 (GMT)
commit1c20648ba29657e1d3040871f4c3281a9c8c7ea4 (patch)
tree0434bcb5b166261543290386187906f6ef81c963 /Modules
parent55a214e39d7f92bf5ca226148325408f55eb9885 (diff)
downloadcpython-1c20648ba29657e1d3040871f4c3281a9c8c7ea4.zip
cpython-1c20648ba29657e1d3040871f4c3281a9c8c7ea4.tar.gz
cpython-1c20648ba29657e1d3040871f4c3281a9c8c7ea4.tar.bz2
added SITEPATH and DESTPATH variables
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Setup.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/Modules/Setup.in b/Modules/Setup.in
index 964a1b2..5dd3037 100644
--- a/Modules/Setup.in
+++ b/Modules/Setup.in
@@ -53,13 +53,19 @@
# Don't edit this (usually)
DESTLIB=$(prefix)/lib/python
+# Site specific path insertions -- should begin with : if non-empty
+SITEPATH=
+
+# Standard path -- don't edit
+DESTPATH=:$(DESTLIB)
+
# Standard enabled (tests are always available)
TESTPATH=:$(DESTLIB)/test
# Path for machine- or system-dependent modules (and shared libraries)
MACHDEPPATH=:$(DESTLIB)/$(MACHDEP)
-COREPYTHONPATH=.:$(DESTLIB)$(TESTPATH)$(MACHDEPPATH)$(STDWINPATH)$(TKPATH)
+COREPYTHONPATH=.$(SITEPATH)$(DESTPATH)$(TESTPATH)$(MACHDEPPATH)$(STDWINPATH)$(TKPATH)
PYTHONPATH=$(COREPYTHONPATH)