Commit Graph

167 Commits

Author SHA1 Message Date
Just van Rossum ebc198faa9 Somehow ColorPicker has never been included or tested under darwin, but it works just fine. 2003-05-24 20:21:50 +00:00
Martin v. Löwis a950f7ff0d Only look for krb5.h if ssl.h was found.
Fixes bug reported in comment to #728322.
2003-05-09 09:05:19 +00:00
Skip Montanaro 50727728b9 set platform properly for OSF/1 2003-05-07 15:38:47 +00:00
Skip Montanaro 9f5178abb7 p.strip(os.sep) can't have possibly worked. It would have stripped both
leading and trailing '/' characters on Unix systems.
2003-05-06 20:59:57 +00:00
Skip Montanaro 22e00c42c0 build bsddb185 module in certain restricted circumstances 2003-05-06 20:43:34 +00:00
Martin v. Löwis e86a59af88 Change 'and' to 'or' in _tkinter test. 2003-05-03 08:45:51 +00:00
Just van Rossum 96f7d875b7 build the new autoGIL module on OSX 2003-05-03 00:27:23 +00:00
Neal Norwitz 816653fccb SF Feature #: 719429, Get the SSL module to build on RedHat 9.
krb5.h is in it's own directory
2003-04-17 22:23:36 +00:00
Martin v. Löwis 7fb697b5d2 Revert Patch #670715: iconv support. 2003-04-03 04:49:12 +00:00
Neal Norwitz 0b27ff92d2 SF patch #712367, get build working on AIX
configure change is necessary to pass "." to makexp_aix so that
dynamic modules work

setup change gets curses working
2003-03-31 15:53:49 +00:00
Neal Norwitz 718d307df8 Get locale module to build on aix4 2003-03-21 03:08:59 +00:00
Skip Montanaro ba9e978180 build _csv extension module 2003-03-20 23:34:22 +00:00
Jack Jansen 7a251db9e6 Build the OSATerminology module on MacOSX. 2003-03-06 23:03:43 +00:00
Jack Jansen d79284843a _CG module only needs the ApplicationServices framework, not Carbon. 2003-03-02 21:31:51 +00:00
Neal Norwitz 6e2d1c7ab8 Just pointed out the code was better written with
try: # ...
        except ImportError, why:
        except: # ...
All other changes are re-indenting/formatting.
2003-02-28 17:39:42 +00:00
Neal Norwitz 3f5fcc8acc Fix SF bug #690012 (among others), iconv_codec stops build
Change setup.py to catch all exceptions.
  - Rename module if the exception was an ImportError
  - Only warn if the exception was any other error

Revert _iconv_codec to raising a RuntimeError.
2003-02-28 17:21:39 +00:00
Jack Jansen 9ce623fce5 That fix was bogus, undone. The problem is that the iconv include file
is found if you are running fink, but the module doesn't work. For now
I disabled building iconv_codec on darwin.
2003-02-24 12:56:36 +00:00
Jack Jansen 70ec40befa The test for iconv_incs tested explicitly for None, but [] is returned
if the include files cannot be found.
2003-02-24 12:48:58 +00:00
Neal Norwitz c3bbeb3749 ossaudiodev has been building, so remove unnecessary pass and invalid comment 2003-02-23 21:47:05 +00:00
Guido van Rossum 14ee89c785 Add PEP 301 metadata. 2003-02-20 02:52:04 +00:00
Guido van Rossum 12471d6389 Don't use self.announce() in a function that's not a method.
Use level=3 (i.e. log.WARN) for the warnings about failed imports.
(Hmm...  Why is that code in an "if 1: ..."?  What's the else branch
for?)
2003-02-20 02:11:43 +00:00
Jack Jansen 0feb8c347e Don't try to build dl on darwin. It doesn't build out of the box, and it
wouldn't serve a useful purpose anyway.
2003-02-18 10:24:34 +00:00
Guido van Rossum 0c016a9590 Re-enable compiling ossaudiodev now that it seems to work again. 2003-02-13 16:12:21 +00:00
Guido van Rossum 6c7438e784 Add compilation instructions for xxmodule.c. 2003-02-11 20:05:50 +00:00
Jason Tishler 9181c94e05 This patch reverts the following:
It also prevents building against the real X headers, if installed.

After discussions with the Cygwin project lead, I believe that building
against the real X headers is OK. Especially, since the psuedo-X headers
are *not* installed by the Cygwin Tcl/Tk binary package.
2003-02-05 15:16:17 +00:00
Jason Tishler cccac1a163 This patch enables Cygwin Python to build _tkinter against Tcl/Tk 8.4.
Note that this patch just reverts the lib_prefix (i.e., "cyg") portion
of my Tcl/Tk 8.3 patch. It seems that Cygwin Tcl/Tk is using a more
normal file naming convention again.
2003-02-05 15:06:46 +00:00
Neal Norwitz d156c2d782 Get ossaudiodev to compile on freebsd 4.7 2003-02-02 17:59:06 +00:00
Raymond Hettinger 96ef8115dd Move itertools module from the sandbox and into production. 2003-02-01 00:10:11 +00:00
Tim Peters 2c60f7a136 Whitespace normalization. 2003-01-29 03:49:43 +00:00
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