[Python-checkins] python/dist/src/Modules Setup.dist,1.36,1.37

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Mon, 17 Mar 2003 07:43:37 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv7873/Modules

Modified Files:
	Setup.dist 
Log Message:
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.


Index: Setup.dist
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/Setup.dist,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** Setup.dist	26 Jan 2003 11:48:19 -0000	1.36
--- Setup.dist	17 Mar 2003 15:43:34 -0000	1.37
***************
*** 93,96 ****
--- 93,97 ----
  # Path components for machine- or system-dependent modules and shared libraries
  MACHDEPPATH=:plat-$(MACHDEP)
+ EXTRAMACHDEPPATH=
  
  # Path component for the Tkinter-related modules
***************
*** 98,102 ****
  TKPATH=:lib-tk
  
! COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(TKPATH)
  PYTHONPATH=$(COREPYTHONPATH)
  
--- 99,103 ----
  TKPATH=:lib-tk
  
! COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(EXTRAMACHDEPPATH)$(TKPATH)
  PYTHONPATH=$(COREPYTHONPATH)