]> granicus.if.org Git - python/commitdiff
Since the errno module is needed by os._execvpe(), and that is used by the
authorFred Drake <fdrake@acm.org>
Mon, 5 Aug 2002 18:06:17 +0000 (18:06 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 5 Aug 2002 18:06:17 +0000 (18:06 +0000)
setup.py (indirectly) script to build the standard dynamically loaded
modules, the errno module is being made static so it will always be
available.
Closes SF bug #591205 (needed on trunk only).

Modules/Setup.dist
setup.py

index f3bc312e2249ee6fcdd9b66dfff541020aa8f21a..905d0ac47e262dc0ea594aa0e3f9fca3f9edb878 100644 (file)
@@ -109,6 +109,7 @@ PYTHONPATH=$(COREPYTHONPATH)
 # setup.py script in the root of the Python source tree.
 
 posix posixmodule.c            # posix (UNIX) system calls
+errno errnomodule.c            # posix (UNIX) errno values
 _sre _sre.c                    # Fredrik Lundh's new regular expressions
 
 # The rest of the modules listed in this file are all commented out by
@@ -177,7 +178,6 @@ GLHACK=-Dclear=__GLclear
 #fcntl fcntlmodule.c   # fcntl(2) and ioctl(2)
 #pwd pwdmodule.c               # pwd(3) 
 #grp grpmodule.c               # grp(3)
-#errno errnomodule.c   # posix (UNIX) errno values
 #select selectmodule.c # select(2); not on ancient System V
 
 # Memory-mapped files (also works on Win32).
index 21f0d8817a8e2398bc6639ef6f31bc5b27d29281..5ac3c29e958c585154ba85e57292c3ff53af8d0c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -315,8 +315,6 @@ class PyBuildExt(build_ext):
                 exts.append( Extension('pwd', ['pwdmodule.c']) )
                 # grp(3)
                 exts.append( Extension('grp', ['grpmodule.c']) )
-        # posix (UNIX) errno values
-        exts.append( Extension('errno', ['errnomodule.c']) )
         # select(2); not on ancient System V
         exts.append( Extension('select', ['selectmodule.c']) )