summaryrefslogtreecommitdiffstats
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* MacOS X: Enable 4-way universal buildsRonald Oussoren2008-06-051-3/+50
| | | | | | | | | | | | | | | | | | This patch adds a new configure argument on OSX: --with-universal-archs=[32-bit|64-bit|all] When used with the --enable-universalsdk option this controls which CPU architectures are includes in the framework. The default is 32-bit, meaning i386 and ppc. The most useful alternative is 'all', which includes all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64). This includes limited support for the Carbon bindings in 64-bit mode as well, limited because (a) I haven't done extensive testing and (b) a large portion of the Carbon API's aren't available in 64-bit mode anyway. I've also duplicated a feature of Apple's build of python: setting the environment variable 'ARCHFLAGS' controls the '-arch' flags used for building extensions using distutils.
* Fix misspelled sys.platform name and misspelled filename.Thomas Heller2008-06-021-1/+1
|
* Turn off debugging output for building bsddb.Brett Cannon2008-05-291-2/+3
|
* Disable the use of BerkeleyDB 4.6 on platforms that appear to haveGregory P. Smith2008-05-271-5/+35
| | | | issues with it.
* Allow BerlekeyDB up through 4.7. I doubt any of our unixy buildbots even haveGregory P. Smith2008-05-261-4/+1
| | | | that installed yet but the module code supports it.
* print out information about which BerkeleyDB library was found byGregory P. Smith2008-05-251-3/+2
| | | | setup.py to use to build the bsddb module.
* Patch #1722225: Support QNX 6.Martin v. Löwis2008-05-231-1/+1
|
* On HPUX, -fPIC must be used for linking. _ctypes now builds on HP-UXThomas Heller2008-05-201-0/+3
| | | | | | | IA64 and PA machines. The ctypes unittests work fine on the IA64, but dump core in test_qsort on the PA.
* Backport fast alternate io.BytesIO implementation.Alexandre Vassalotti2008-05-091-0/+2
| | | | | Merged r62778, r62779, r62802, r62806, r62807, r62808, r62809, r62844, r62846, r62952, r62956.
* Add the 'json' package. Code taken from simplejson 1.9 and contributed by BobBrett Cannon2008-05-051-0/+2
| | | | | | Ippolito. Closes issue #2750.
* Fix test_distutils to not fail when running 'make test' from a Python buildThomas Wouters2008-04-051-0/+2
| | | | | | | | | directory that is not the source directory (ie, one created using '/path/to/source/configure'.) Leaves this test very slightly degraded in that particular case, compared to the build-in-sourcedir case, but that case isn't a particularly strong test either: neither test the actual path that will be used after installing. There isn't a particularly good way to test this, and a poor test beats a failing test.
* Install 2to3 script.Martin v. Löwis2008-03-241-0/+1
|
* Have the binascii module use zlib's optimized crc32() function when availableGregory P. Smith2008-03-241-3/+17
| | | | | to reduce our code size (1k data table and tiny bit of code). It falls back to its own without zlib.
* Move itertools before future_builtins since the latter depends on the former.Neal Norwitz2008-03-231-2/+2
| | | | | From a clean build importing future_builtins would fail since itertools wasn't built yet.
* Merged changes from libffi3-branch.Thomas Heller2008-03-041-0/+35
| | | | | | | | | The bundled libffi copy is now in sync with the recently released libffi3.0.4 version, apart from some small changes to Modules/_ctypes/libffi/configure.ac. I gave up on using libffi3 files on os x. Instead, static configuration with files from pyobjc is used.
* Added future_builtins, which contains PEP 3127 compatible versions of hex() ↵Eric Smith2008-02-231-0/+3
| | | | and oct().
* remove a repeated occurance of a hardcoded berkeleydb library version numberGregory P. Smith2008-02-031-2/+2
|
* Directories from CPPFLAGS and LDFLAGS were being added in the reverse order forBrett Cannon2008-02-031-1/+1
| | | | searches as to how they were listed in the environment variable.
* Disable use of BerkeleyDB 4.6.x to see what the odd platform buildbotsGregory P. Smith2008-01-281-1/+4
| | | | | think. In particular, neal norwitz has traced an Ubuntu sparc64 crash to the Lib/test/bsddb/test_basics.py test when opening a db with DB_THREAD.
* Added the Python core headers Include/*.h and pyconfig.h as dependencies for ↵Christian Heimes2008-01-251-0/+9
| | | | | | the extensions in Modules/ It forces a rebuild of all extensions when a header files has been modified
* Backport of several functions from Python 3.0 to 2.6 including ↵Christian Heimes2008-01-251-0/+2
| | | | | | | PyUnicode_FromString, PyUnicode_Format and PyLong_From/AsSsize_t. The functions are partly required for the backport of the bytearray type and _fileio module. They should also make it easier to port C to 3.0. First chapter of the Python 3.0 io framework back port: _fileio The next step depends on a working bytearray type which itself depends on a backport of the nwe buffer API.
* Build _ctypes after the other extensions. Its build process dependsChristian Heimes2008-01-181-2/+8
| | | | on the _weakref extension (and maybe other modules, too)
* Enable platform-specific tweaks for FreeBSD 8 (exactly same to FreeBSD 7's yet)Hye-Shik Chang2007-10-281-1/+1
|
* remove another sleepycat referenceGregory P. Smith2007-10-091-1/+1
|
* Splits Modules/_bsddb.c up into bsddb.h and _bsddb.c and adds a C APIGregory P. Smith2007-10-091-0/+1
| | | | | | | | | | | object available as bsddb.db.api. This is based on the patch submitted by Duncan Grisby here: http://sourceforge.net/tracker/index.php?func=detail&aid=1551895&group_id=13900&atid=313900 See this thread for additional info: http://sourceforge.net/mailarchive/forum.php?thread_name=E1GAVDK-0002rk-Iw%40apasphere.com&forum_name=pybsddb-users It also cleans up the code a little by removing some ifdef/endifs for python prior to 2.1 and for unsupported Berkeley DB <= 3.2.
* Allows BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module.Gregory P. Smith2007-10-061-4/+12
|
* Don't allow BerkeleyDB 4.6.x as the current 4.6.19 release is proneGregory P. Smith2007-09-101-2/+4
| | | | to lockups. We'll reenable it once a good 4.6.x release exists.
* If this is correct for py3k branch and it's already in the release25-maintSkip Montanaro2007-09-061-3/+0
| | | | branch, seems like it ought to be on the trunk as well.
* - Added support for linking the bsddb module against BerkeleyDB 4.6.x.Matthias Klose2007-09-031-3/+3
|
* keep setup.py from listing unneeded hash modules (_md5, _sha*) asGregory P. Smith2007-08-261-4/+11
| | | | | | | missing when they were not built because _hashlib with openssl provided their functionality instead. don't build bsddb185 if bsddb was built.
* Bug #1765375: fix stripping of unwanted LDFLAGS.Georg Brandl2007-08-241-1/+2
|
* When setup.py fails to find the necessary bits to build some modules, have itJeffrey Yasskin2007-08-221-1/+4
| | | | print a slightly more informative message.
* Remove the rgbimg module. It has been deprecated since Python 2.5.Brett Cannon2007-05-201-3/+1
|
* Fix cmp vs. key argument for list.sort.Georg Brandl2007-03-061-1/+1
|
* patch 1673619 - identify extension modules which cannot be builtSkip Montanaro2007-03-061-4/+109
|
* Teach setup.py how to find Berkeley DB on Macs using MacPorts.Skip Montanaro2007-03-041-8/+10
|
* Prepare collections module for pure python code entries.Raymond Hettinger2007-02-281-1/+1
|
* Ignore directory time stamps when consideringMartin v. Löwis2007-02-141-1/+2
| | | | whether to rerun libffi configure.
* Support linking of the bsddb module against BerkeleyDB 4.5.xGregory P. Smith2007-01-051-3/+3
| | | | (will backport to 2.5)
* Check db_setup_debug for a few print statements; change sqlite_setup_debug ↵Andrew M. Kuchling2006-10-271-5/+8
| | | | to False
* Add some commentary on -mimpure-text.Martin v. Löwis2006-08-091-0/+8
|
* [Patch #1464056] Ensure that we use the panelw library when linking with ↵Andrew M. Kuchling2006-08-061-2/+6
| | | | | | ncursesw. Once I see how the buildbots react, I'll backport this to 2.4.
* Fix #1530448 - fix ctypes build failure on solaris 10.Thomas Heller2006-08-041-0/+5
| | | | The '-mimpure-text' linker flag is required when linking _ctypes.so.
* Whitespace normalization.Tim Peters2006-06-301-1/+1
|
* Use staticly build copies of zlib and bzip2 to build the OSX installer, thatRonald Oussoren2006-06-271-2/+30
| | | | | | | | | way the resulting binaries have a better change of running on 10.3. This patch also updates the search logic for sleepycat db3/4, without this patch you cannot use a sleepycat build with a non-standard prefix; with this you can (at least on OSX) if you add the prefix to CPPFLAGS/LDFLAGS at configure-time. This change is needed to build the binary installer for OSX.
* add depends = ['md5.h'] to the _md5 module extension for correctness sake.Gregory P. Smith2006-06-051-1/+3
|
* Drop Mac wrappers for the WASTE library.Ronald Oussoren2006-06-041-23/+0
|
* Apply modified version of Collin Winter's patch #1478788Nick Coghlan2006-05-291-2/+2
| | | | | | Renames functional extension module to _functools and adds a Python functools module so that utility functions like update_wrapper can be added easily.
* - Search the sqlite specific search directoriesRonald Oussoren2006-05-261-1/+45
| | | | | | | | | | | | | after the normal include directories when looking for the version of sqlite to use. - On OSX: * Extract additional include and link directories from the CFLAGS and LDFLAGS, if the user has bothered to specify them we might as wel use them. * Add '-Wl,-search_paths_first' to the extra_link_args for readline and sqlite. This makes it possible to use a static library to override the system provided dynamic library.
* patch #1493701: performance enhancements for struct moduleBob Ippolito2006-05-231-1/+1
|