Jack Jansen
144ebcc444
Replace moddir and incdir by
...
moddirlist and incdirlist, lists of source and include
directories that are searched for modules.
This is needed because the Mac modules and include files
live in the Mac subtree.
In addition (and that's actually what the mod is all about) on OSX we build all the Mac extension modules.
2001-08-05 22:31:19 +00:00
Tim Peters
76f373d081
Repair more now-obsolete references to config.h.
2001-07-26 21:34:59 +00:00
Martin v. Löwis
3db5b8cc76
Patch #443669 : Permit _tkinter to build on cygwin32.
2001-07-24 06:54:01 +00:00
Andrew M. Kuchling
9eb27a89d8
Fix bug #437487 : "2.1 build on Solaris fails if CC is set"
...
by adding the contents of CCSHARED to the compiler specified by CC
2001-07-14 20:28:10 +00:00
Andrew M. Kuchling
6268669612
Patch #411055 from MvL: import each extension after building it, and
...
delete ones that can't be imported due to missing symbols or other
causes.
2001-05-21 20:48:09 +00:00
Andrew M. Kuchling
185bd6fc76
Trim out some cruft
2001-05-21 20:44:48 +00:00
Andrew M. Kuchling
f52d27e52d
Fix bug #232619 : fix misleading warning on installing to lib-dynload
2001-05-21 20:29:27 +00:00
Guido van Rossum
e697091c45
Patch by Mark Favas to ensure that the zlib we find is 1.1.3 or
...
later. This assumes that zlib.h has a line of the form
#define ZLIB_VERSION "1.1.3"
This solves the problem where a zlib installation is found but it is
an older version -- this would break the build, while a better
solution is to simply ignore that zlib installation.
2001-04-15 15:16:12 +00:00
Martin v. Löwis
b1d196927a
Remove Tix detection from Tkinter part; lib-tk/Tix attempts to load Tix
...
by requiring it. Also remove commentary from Setup.dist about commenting
in and out stuff.
2001-03-21 07:44:53 +00:00
Andrew M. Kuchling
9b5abcd48c
Tidy up the ordering of include and library directories, putting
...
/usr/local first and leaving /usr/include at the end. This addresses
the comments in bug #232609 .
2001-03-17 16:56:35 +00:00
Andrew M. Kuchling
5dfa13719f
Disable the dl module
2001-03-02 06:24:14 +00:00
Andrew M. Kuchling
3da989c6bc
Fix for bug #405007 : prefix subdir to scripts in order to build in
...
a subdirectory.
2001-02-28 22:49:26 +00:00
Andrew M. Kuchling
aece4270b1
Install the pydoc script
2001-02-28 20:56:49 +00:00
Andrew M. Kuchling
b69c758f3b
Fix for bug #404875 : fix typo in setup.py
2001-02-28 19:49:57 +00:00
Andrew M. Kuchling
6efc6e7832
Patch #404680 : disables the nis module and enables the dl module when
...
building under Cygwin. Makes some fixes to the dlmodule in order to
compile with Cygwin.
2001-02-27 20:54:23 +00:00
Andrew M. Kuchling
8d7f0869ee
Patch #103899 : Don't compile modules configured in Setup. This seems much
...
simpler than adding a bazillion switches, but means that the makesetup
method probably can't ever go away completely. Oh well...
2001-02-23 16:32:32 +00:00
Andrew M. Kuchling
e06337a928
Patch #103937 : Attempt to get the BSDDB autodetection right (or at least
...
less wrong)
2001-02-23 16:27:48 +00:00
Andrew M. Kuchling
cf393f3fd9
Patch #103544 : always compile the dl and nis modules on Unix; let's see
...
where they break.
2001-02-21 02:38:24 +00:00
Andrew M. Kuchling
3c044942ab
BeOS doesn't have a libm.a, either; noted by Donn Cave
2001-02-06 23:37:23 +00:00
Andrew M. Kuchling
3cbdbfbf9c
Part of patch #103544 : fix detection of BSDDB on BSD systems
2001-02-06 22:26:30 +00:00
Andrew M. Kuchling
9a3fd8c82f
Patch #103578 ] _tkinter build fix for he current Debian unstable tcl/tk 8.3
...
packages
2001-02-06 22:15:27 +00:00
Tim Peters
d66595fe42
Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call!
2001-02-04 03:09:53 +00:00
Jeremy Hylton
5e7cb240af
Add minimal interface to symtable: _symtable module.
2001-02-02 18:24:26 +00:00
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