summaryrefslogtreecommitdiff
path: root/Modules/Setup.dist
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-03-17 15:44:10 +0000
committerJack Jansen <jack.jansen@cwi.nl>2003-03-17 15:44:10 +0000
commit7b59b42a3803b965e9b5f3ad2fdd3999c95480e6 (patch)
tree26de1343b0b166c92f3d206e540b4c254e9d5561 /Modules/Setup.dist
parentdcf6d2c97dbe7b7126cc4dfeb39d424a4397cdc6 (diff)
downloadcpython-git-7b59b42a3803b965e9b5f3ad2fdd3999c95480e6.tar.gz
Added a define EXTRAMACHDEPPATH which can be used to add sys.path items
for specific platforms. Use this to add plat-mac and plat-mac/lib-scriptpackages on MacOSX. Also tested for not having adverse effects on Linux, and I think this code isn't used on Windows anyway. Fixes #661521.
Diffstat (limited to 'Modules/Setup.dist')
-rw-r--r--Modules/Setup.dist3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Setup.dist b/Modules/Setup.dist
index bebcd08dae..0c7722f5dc 100644
--- a/Modules/Setup.dist
+++ b/Modules/Setup.dist
@@ -92,12 +92,13 @@ TESTPATH=
# Path components for machine- or system-dependent modules and shared libraries
MACHDEPPATH=:plat-$(MACHDEP)
+EXTRAMACHDEPPATH=
# Path component for the Tkinter-related modules
# The TKPATH variable is always enabled, to save you the effort.
TKPATH=:lib-tk
-COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(TKPATH)
+COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(EXTRAMACHDEPPATH)$(TKPATH)
PYTHONPATH=$(COREPYTHONPATH)