summaryrefslogtreecommitdiffstats
path: root/Modules/Setup.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-11 17:19:54 (GMT)
committerGuido van Rossum <guido@python.org>1997-04-11 17:19:54 (GMT)
commit97227814a95769753cc9334048f1dedfa7024720 (patch)
tree158821105eaa51f6f7546b08a557aac9903fd41e /Modules/Setup.in
parent305e5d0d4f3a24f199cfea4f9b0e53980de79847 (diff)
downloadcpython-97227814a95769753cc9334048f1dedfa7024720.zip
cpython-97227814a95769753cc9334048f1dedfa7024720.tar.gz
cpython-97227814a95769753cc9334048f1dedfa7024720.tar.bz2
The default path components are now all relative instead of absolute paths.
This completes the getpath.c checkin. Note that to enable this in an existing build tree, you'll have to edit your Setup and Setup.in file to remove the $(DESTLIB) from all the PATH variable definitions.
Diffstat (limited to 'Modules/Setup.in')
-rw-r--r--Modules/Setup.in16
1 files changed, 10 insertions, 6 deletions
diff --git a/Modules/Setup.in b/Modules/Setup.in
index f17bd4e..18b5279 100644
--- a/Modules/Setup.in
+++ b/Modules/Setup.in
@@ -66,18 +66,22 @@
DESTLIB=$(LIBDEST)
MACHDESTLIB=$(BINLIBDEST)
+# NOTE: all the paths are now relative to the prefix that is computed
+# at run time!
+
# Standard path -- don't edit.
-# No leading colon since this is the first entry
-DESTPATH=$(DESTLIB)
+# No leading colon since this is the first entry.
+# Empty since this is now just the runtime prefix.
+DESTPATH=
# Site specific path components -- should begin with : if non-empty
SITEPATH=
# Standard path components for test modules
-TESTPATH=:$(DESTLIB)/test
+TESTPATH=:test
# Path components for machine- or system-dependent modules and shared libraries
-MACHDEPPATH=:$(DESTLIB)/$(MACHDEP):$(MACHDESTLIB)/sharedmodules
+MACHDEPPATH=:$(MACHDEP):sharedmodules
COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(STDWINPATH)$(TKPATH)
PYTHONPATH=$(COREPYTHONPATH)
@@ -168,7 +172,7 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
#STDWIN=/ufs/guido/src/stdwin
# Uncomment these lines:
-#STDWINPATH=:$(DESTLIB)/stdwin
+#STDWINPATH=:stdwin
#LIBTEXTEDIT=$(STDWIN)/$(MACHDEP)/Packs/textedit/libtextedit.a
#LIBX11STDWIN=$(STDWIN)/$(MACHDEP)/Ports/x11/libstdwin.a
#stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBX11STDWIN) -lX11
@@ -253,7 +257,7 @@ md5 md5module.c md5c.c
# Change the -l arguments to use Tcl 7.4 and Tk 4.0!
# *** ALWAYS enable this line:
-#TKPATH=:$(DESTLIB)/tkinter
+#TKPATH=:tkinter
# *** Enable *one* of the following lines:
# For Solaris: