Commit Graph

138 Commits

Author SHA1 Message Date
Martin v. Löwis 9789aefa61 Patch #670715: Universal Unicode Codec for POSIX iconv. 2003-01-26 11:30:36 +00:00
Martin v. Löwis fc03a94aac Incorporate Expat 1.95.6. 2003-01-25 22:41:29 +00:00
Guido van Rossum 81d40d6f47 ossaudiodev.c currently gives compilation errors, and Greg doesn't fix
it, so disable the build for now.
2003-01-21 21:01:37 +00:00
Greg Ward 0a6355eb1f Add reminder that ossaudiodev can/should also be built on FreeBSD. 2003-01-08 01:37:41 +00:00
Guido van Rossum dca3f2f54a Enable building and testing of ossaudiodev for Linux. 2003-01-08 01:23:01 +00:00
Skip Montanaro 5a47e5ba04 The bsddb3 library does not build w/ Berkeley DB 3.0. 3.1 is the earliest
supported version.
2003-01-04 04:06:56 +00:00
Skip Montanaro decc6a47df Split OPT make variable into OPT and BASECFLAGS. The latter contains those
compiler flags which are necessary to get a clean compile.  The former is
for user-specified optimizer, debug, trace fiddling.  See patch 640843.

Add /sw/lib and /sw/include to setup.py search paths on Darwin to take
advantage of fink goodies.

Add scriptsinstall target to Makefile to install certain scripts from
Tools/scripts directory.
2003-01-01 20:07:49 +00:00
Jason Tishler bbe8961698 Patch #660485: Cygwin _tkinter Tcl/Tk 8.3 patch
The attached patch enables Cygwin Python to
build cleanly against the latest Cygwin Tcl/Tk
which is based on Tcl/Tk 8.3. It also prevents
building against the real X headers, if installed.
2002-12-31 20:30:46 +00:00
Barry Warsaw 40819d5515 Search for and use BerkeleyDB 4.1 if it's available. Python's
extension module now supports it.
2002-12-30 20:51:12 +00:00
Raymond Hettinger 40f6217092 SF patch 658251: Install a C implementation of the Mersenne Twister as the
core generator for random.py.
2002-12-29 23:03:38 +00:00
Jack Jansen 6810f92d4d The extension module macfs has been replaced by a pure Python version. 2002-12-19 23:27:58 +00:00
Michael W. Hudson 529a505da4 This is J. Lewis Muir's patch:
[ 629278 ] install lib-dynload .so files mode 555

fixing

[ 583206 ] lib-dynload/*.so wrong permissions
[ 425007 ] Python 2.1 installs shared libs with mode 0700

Phew.
2002-12-17 16:47:17 +00:00
Guido van Rossum a29d508ec4 Build the datetime module for *n*x. 2002-12-16 20:31:57 +00:00
Martin v. Löwis 427a290c9a Patch #629126: Detect BLT by also looking for libBLT. 2002-12-12 20:23:38 +00:00
Marc-André Lemburg b28de0d79f Patch to make _codecs a builtin module. This is necessary since
Python 2.3 will support source code encodings which rely on the
builtin codecs being available to the parser.

Remove struct dependency from codecs.py
2002-12-12 17:37:50 +00:00
Martin v. Löwis a37d61f1d6 Correct db3 /opt/sfw library path. Link ndbm with libc only if ndbm.h
is present and libndbm is not. Add runtime libs to dbm if linked against
Berkeley DB.
2002-12-07 14:41:17 +00:00
Martin v. Löwis 05d4d562d7 Search in standard library and include dirs for Sleepycat stuff.
Fixes #590377.
2002-12-06 10:25:02 +00:00
Andrew M. Kuchling a246d9fefd [Patch #641685] setup.py contained code for finding libraries, instead
of using the CCompiler.find_library_file() provided by the Distutils.
   This patch fixes it to use the Distutils method at the cost of some
   additional glue.

(The duplication resulted in the SSL module not being automatically
built on Macs; the Distutils knew that shared libraries on OS X have a
.dylib extension, but the setup.py code didn't.)
2002-11-27 13:43:46 +00:00
Just van Rossum 05ced6aa76 Don't disable building Mac-specific modules for a non-framework build:
whether they crash or not is not a matter of using a framework or not,
but whether the code is run from an app bundle or not. And that it
_can_ crash (instead of tracing back) is Apple's bug anyway, not ours.
2002-11-24 23:15:57 +00:00
Jack Jansen d0e59fb68d Added the alias manager too. The interface isn't perfect yet: the alias
manager doesn't always have the alias as the first argument, so things
become functions in stead of methods.
2002-11-22 15:53:32 +00:00
Jack Jansen e2ba87396c Got angry and added support for pretty much the whole file and folder
manager. This should allow us the get rid of most of the FSSpecs, only
navigation services remains to be done.
2002-11-22 14:58:35 +00:00
Martin v. Löwis 21645fc073 Don't try to use unsupported DB versions. 2002-11-19 08:30:08 +00:00
Martin v. Löwis 6aa4a1f29c Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185. 2002-11-19 08:09:52 +00:00
Martin v. Löwis cc40cede7a Look in db4 directories when checking for db4. 2002-11-09 19:53:04 +00:00
Andrew M. Kuchling 15628fe7bc Simply delete the fpectl module, instead of leaving it commented out;
if people want to compile it, they should edit Modules/Setup, not setup.py
2002-11-08 13:11:50 +00:00
Gustavo Niemeyer f8ca8364c9 Patch implementing bz2 module.
* setup.py
  (PyBuildExt.detect_modules): Included bz2 module detection.

* Modules/bz2module.c
* Lib/test/test_bz2.py
* Doc/lib/libbz2.tex
  Included files implementing, testing, and documenting bz2 module.

* Doc/Makefile.deps
* Doc/lib/lib.tex
  Include references to libbz2.tex.

* Misc/NEWS
  (Library): Mention distutils' c++ linkage patch, and new bz2 module.
2002-11-05 16:50:05 +00:00
Guido van Rossum e0fea6c4ed [SF bug 620364]
In build_extensions(), don't proceed if srcdir is None.  Probably
somebody who tried this on Windows. :-)
2002-10-14 20:48:09 +00:00
Guido van Rossum fa82181436 Disable building of the fpectl module -- it's dangerous or useless
except in the hands of experts.  Will backport to 2.2.2.
2002-09-25 14:59:57 +00:00
Guido van Rossum 770acd3f7f Only build the 'dl' extension when sys.maxint equals 2**31-1.
This module raises "SystemError: module dl requires sizeof(int) ==
sizeof(long) == sizeof(char*)" when compiled on 64-bit platforms.
2002-09-12 14:41:20 +00:00
Jack Jansen 983258ed7e Revived the Carbon.Help module, but implementing the MacHelp API in stead
of the defunct Balloons API. Help tags are TBD, but at least this gives
us access to the help menu.
2002-08-29 21:09:00 +00:00
Skip Montanaro ccfdde86eb Slight reordering of directories searched for BerkDB libs and include files.
Push /usr/... further down the list - always check /usr/local/... before
/usr/...

Doubt this will help with http://python.org/sf/589427 or not, but these
changes were prompted by my investigation of that bug report.  I wasn't able
to reproduce that problem though
2002-08-15 01:34:38 +00:00
Jason Tishler d28216b279 Patch #588564: _locale library patch
This patch enables setup.py to find gettext routines when they are
located in libintl instead of libc.  Although I developed this patch for
Cygwin, I hope that it can be easily updated to support other platforms
(if necessary). I tested this patch under Cygwin and Red Hat Linux 7.1.
2002-08-14 11:13:52 +00:00
Barry Warsaw 259b1e18b4 Regress Guido's change of 2002/08/06 to check for the zlib version
1.1.4.  Redhat hasn't upgraded but does provide a patched 1.1.3
package, so checking for 1.1.4 just makes life difficult.
2002-08-13 20:09:26 +00:00
Guido van Rossum 8cdc03dca5 Update the URL for getting zlib, and update the minimal required
version to 1.1.4 (because of the 1.1.3 security problem).  Also
replace a funny use of line.find() with line.startswith().
2002-08-06 17:28:30 +00:00
Fred Drake 5f8a23f32f Since the errno module is needed by os._execvpe(), and that is used by the
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).
2002-08-05 18:06:17 +00:00
Jack Jansen a30d1447cf Build the _IBCarbon module. 2002-08-04 22:04:25 +00:00
Michael W. Hudson c4c718057e Revert last checkin. Man, that was stupid. 2002-08-03 16:39:22 +00:00
Michael W. Hudson 210f5585d2 Another fix for:
[ 589427 ] standard include paths on command line

_ssl still got /usr/include on the command line.
2002-08-03 16:16:22 +00:00
Michael W. Hudson 90b8e4d40c Fix for
[ 589427 ] standard include paths on command line
2002-08-02 13:55:50 +00:00
Jack Jansen d1b2045958 The readme file said that OSX Carbon modules were only built for
-enable-framework builds, but setup.py built them anyway. Fixed.
Also normalized whitespace.

Bugfix candidate.
2002-07-08 21:39:36 +00:00
Jack Jansen 73aa1fff85 More fixes for building MacPython extension modules. It now actually succeeds
in building various modules.
2002-06-27 22:06:49 +00:00
Jack Jansen 4439b7c67e Fixed a few showstoppers in the process of making MacPython use setup.py to build it's exension modules (in stead of relying on a private mechanism). It definitely doesn't work yet, but it looks promising. 2002-06-26 15:44:30 +00:00
Barry Warsaw 6fe3d7009e In the Extension() call, add runtime_library_dirs so that a useful
-R/--rpath flag gets passed to the linker.  Source builds of
BerkeleyDB do their default installs in locations not normally on
ld.so's search path.
2002-06-24 20:27:33 +00:00
Jack Jansen 0b06be7b0b Patch #557719 by Tony Lownds, slightly massaged by me: streamline the
OSX framework build process. Things fixed/modified:
- the filesystem case-sensitivity test now works for builds outside
  the source directory
- various other fixes for building outside the source directory
- python.app now has a target in the main Makefile
- WASTE and AquaTk are found more automatically
2002-06-21 14:48:38 +00:00
Fred Drake fc8341d070 Update description of the Expat library.
Closes SF bug #556370.
2002-06-17 17:55:30 +00:00
Skip Montanaro 57454e57f8 This introduces stricter library/header file checking for the Berkeley DB
library.  Since multiple versions can be installed simultaneously, it's
crucial that you only select libraries and header files which are compatible
with each other.  Version checking is done from highest version to lowest.
Building using version 1 of Berkeley DB is disabled by default because of
the hash file bugs people keep rediscovering.  It can be enabled by
uncommenting a few lines in setup.py.  Closes patch 553108.
2002-06-14 20:30:31 +00:00
Jeremy Hylton 340043ea79 Munge depends files to have absolute paths.
Look in both moddirlist and incdirlist, since a .h could be in either.
2002-06-13 17:38:11 +00:00
Guido van Rossum df1e092a1f Get rid of accidentally checked-in reference to "bits". 2002-06-13 15:08:35 +00:00
Guido van Rossum 47d3a7afda Add dependencies on socketmodule.h. 2002-06-13 14:41:32 +00:00
Martin v. Löwis f90ae20354 Patch #488073: AtheOS port. 2002-06-11 06:22:31 +00:00