Commit Graph

472 Commits

Author SHA1 Message Date
Marc-André Lemburg 261b8e26f1 Whitespace correction... 2001-02-02 12:12:44 +00:00
Marc-André Lemburg bc7cbcbc8f Added new Python C API _test module to the build mechanism on Unix. 2001-02-02 12:07:22 +00:00
Fred Drake 2de7471d69 Add entries for the weakref module to the build control. 2001-02-01 05:26:54 +00:00
Andrew M. Kuchling 66012fe889 Remove unused import of 'string'
Add header comment and __version__
2001-01-26 21:56:58 +00:00
Marc-André Lemburg 2efc3238d7 Be extra careful with linking against libtermcap. This is now only done
if we can find the libtermcap in the usual places. Some platforms don't
have libtermcap, e.g. MacOSX.
2001-01-26 18:23:02 +00:00
Marc-André Lemburg 7c6fcda7bf Fixed setup.py to allow:
1. skipping of extensions which cause an error (a warning message
   is written to stdout, but the build process no longer fails
   completely)

2. the readline extension to compile on SuSE Linux (and probably
   other platforms too) by adding /usr/lib/termcap to the library search
   path
2001-01-26 18:03:24 +00:00
Neil Schemenauer 726b78ecb8 Patch from Andrew to properly set module source directory. 2001-01-24 17:18:21 +00:00
Fredrik Lundh ade711a5c3 the ucnhash module is no longer used 2001-01-24 08:00:28 +00:00
Andrew M. Kuchling 34febf5e92 Modified version of part of patch #102409 for Cygwin:
Get platform-specific modules right on Cygwin
   Getting a string value for the platform has been factored out into
   get_platform()
2001-01-24 03:31:07 +00:00
Andrew M. Kuchling 5ddb25f36f Fix for MacOS X/Darwin: it doesn't need -lm, ever. (Noted by Steven Majewski) 2001-01-23 22:21:11 +00:00
Marc-André Lemburg 14970bea8f unicodedatabase.c is no longer needed thanks to Fredrik's patches. 2001-01-22 10:38:27 +00:00
Martin v. Löwis 1ab29b2d3c Check for None to decide when pyexpat should not be built. 2001-01-21 10:54:52 +00:00
Andrew M. Kuchling e7c87327b3 GvR pointed out the correct way to check for statically built modules;
sys.builtin_module_names
Add SSL directories in /usr/contrib/ for FreeBSD
2001-01-19 16:58:21 +00:00
Andrew M. Kuchling e3d6e41d81 Revert a single line of my large change earlier today; this broke the ability
to build in a subdirectory.  The additional directory is unfortunately
    redundant when *not* building in a subdirectory, which is why I took
    it out.
2001-01-19 02:50:34 +00:00
Andrew M. Kuchling 5bbc7b9283 Patch from Barry: gets rid of two unused imports,
wraps to 80chars, and adds some really hacky setting of compiler
   options when CC and LDSHARED are given on the make command line.
   (The Distutils should probably provide a utility function to
    automatically handle a number of common environment variables)
2001-01-18 20:39:34 +00:00
Andrew M. Kuchling fbe73769a4 Sizable reorganization of how header and library files are found
Check additional include directories for SSL
Don't build modules that are linked into the Python binary statically
Factored out the detection of Tkinter out into a method, since it's
    the most complicated module to set up
Simplify the logic for detecting Tkinter
2001-01-18 18:44:20 +00:00
Andrew M. Kuchling 6425efe9ae The signal module has to be compiled statically, so add it to Setup.dist
and remove support for it from setup.py
2001-01-17 22:17:16 +00:00
Neil Schemenauer e7e2ece979 - compile struct module
- get version number from sys.version_info
2001-01-17 21:58:00 +00:00
Andrew M. Kuchling a99202a017 Fix for bug #129173, reported by Skip Montanaro:
Check for the two possible headers for Expat, expat.h and xmlparse.h,
   and only compile the pyexpat module if one of them is found.
2001-01-17 20:51:18 +00:00
Andrew M. Kuchling 4f9e9432a8 Use the extended library search path when looking for readline (simple
oversight in using self.compiler.library_dirs)
2001-01-17 20:20:44 +00:00
Andrew M. Kuchling d5c43065d5 Various clean-ups:
* Uncomment the xreadlines module
  * The Tcl/Tk detection code doesn't need to worry about pre-8.0 versions
  * Fix some debugging changes (not running ar, a commented-out line)
2001-01-17 15:59:25 +00:00
Andrew M. Kuchling 00e0f21be8 [Patch #102588/PEP 229]:
Check in the setup.py script, and the setup.cfg.in file, which
   handle compiling and installing as many extension modules as possible
2001-01-17 15:23:23 +00:00