summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-07-30 16:54:03 (GMT)
committerGuido van Rossum <guido@python.org>1996-07-30 16:54:03 (GMT)
commitd3c1bd3931e99722a317a7cd66a062cfe8b1e40b (patch)
tree75ff734b405875c45164b1ad20483324e359048c /Modules
parent704fef226875aa51b35791ac0b121fef709e995a (diff)
downloadcpython-d3c1bd3931e99722a317a7cd66a062cfe8b1e40b.zip
cpython-d3c1bd3931e99722a317a7cd66a062cfe8b1e40b.tar.gz
cpython-d3c1bd3931e99722a317a7cd66a062cfe8b1e40b.tar.bz2
Added operator.c. Moved errno.c.
Changes to PYTHONPATH so it includes VERSION
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Setup.in13
1 files changed, 7 insertions, 6 deletions
diff --git a/Modules/Setup.in b/Modules/Setup.in
index 9b7c917..a5b7a9d 100644
--- a/Modules/Setup.in
+++ b/Modules/Setup.in
@@ -51,7 +51,8 @@
# Don't add any whitespace or comments!
# Don't edit this (usually)
-DESTLIB=$(prefix)/lib/python
+DESTLIB=$(prefix)/lib/python$(VERSION)
+MACHDESTLIB=$(exec_prefix)/lib/python$(VERSION)
# Site specific path insertions -- should begin with : if non-empty
SITEPATH=
@@ -62,8 +63,8 @@ DESTPATH=:$(DESTLIB)
# Standard enabled (tests are always available)
TESTPATH=:$(DESTLIB)/test
-# Path for machine- or system-dependent modules (and shared libraries)
-MACHDEPPATH=:$(DESTLIB)/$(MACHDEP)
+# Path components for machine- or system-dependent modules and shared libraries
+MACHDEPPATH=:$(DESTLIB)/$(MACHDEP):$(MACHDESTLIB)/sharedmodules
COREPYTHONPATH=.$(SITEPATH)$(DESTPATH)$(TESTPATH)$(MACHDEPPATH)$(STDWINPATH)$(TKPATH)
PYTHONPATH=$(COREPYTHONPATH)
@@ -76,15 +77,13 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
posix posixmodule.c # posix (UNIX) system calls
-errno errnomodule.c # posix (UNIX) errno values
signal signalmodule.c # signal(2)
# The SGI specific GL module:
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- works on selected systems only, e.g. SGI IRIX and
-# on SunOS 5.x (SOLARIS) only.
+# Thread module -- use only if Python has thread support for your OS.
# Note that you must have configured (and built!) Python with the
# --with-thread option passed to the configure script for this to work:
@@ -106,6 +105,7 @@ regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
time timemodule.c # time operations and variables
+operator operator.c # operator.add() and similar goodies
# Modules with some UNIX dependencies -- on by default:
@@ -118,6 +118,7 @@ grp grpmodule.c # grp(3)
crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
+errno errnomodule.c # posix (UNIX) errno values
# Some more UNIX dependent modules -- off by default, since these