diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-17 15:44:10 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-17 15:44:10 (GMT) |
commit | 7b59b42a3803b965e9b5f3ad2fdd3999c95480e6 (patch) | |
tree | 26de1343b0b166c92f3d206e540b4c254e9d5561 /Modules/Setup.dist | |
parent | dcf6d2c97dbe7b7126cc4dfeb39d424a4397cdc6 (diff) | |
download | cpython-7b59b42a3803b965e9b5f3ad2fdd3999c95480e6.zip cpython-7b59b42a3803b965e9b5f3ad2fdd3999c95480e6.tar.gz cpython-7b59b42a3803b965e9b5f3ad2fdd3999c95480e6.tar.bz2 |
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.dist | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Setup.dist b/Modules/Setup.dist index bebcd08..0c7722f 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) |