summaryrefslogtreecommitdiffstats
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't disable building Mac-specific modules for a non-framework build:Just van Rossum2002-11-241-99/+89
| | | | | | 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.
* Added the alias manager too. The interface isn't perfect yet: the aliasJack Jansen2002-11-221-0/+2
| | | | | manager doesn't always have the alias as the first argument, so things become functions in stead of methods.
* Got angry and added support for pretty much the whole file and folderJack Jansen2002-11-221-0/+4
| | | | | manager. This should allow us the get rid of most of the FSSpecs, only navigation services remains to be done.
* Don't try to use unsupported DB versions.Martin v. Löwis2002-11-191-9/+3
|
* Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185.Martin v. Löwis2002-11-191-43/+8
|
* Look in db4 directories when checking for db4.Martin v. Löwis2002-11-091-4/+4
|
* Simply delete the fpectl module, instead of leaving it commented out;Andrew M. Kuchling2002-11-081-22/+0
| | | | if people want to compile it, they should edit Modules/Setup, not setup.py
* Patch implementing bz2 module.Gustavo Niemeyer2002-11-051-0/+5
| | | | | | | | | | | | | | | | | * 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.
* [SF bug 620364]Guido van Rossum2002-10-141-0/+3
| | | | | In build_extensions(), don't proceed if srcdir is None. Probably somebody who tried this on Windows. :-)
* Disable building of the fpectl module -- it's dangerous or uselessGuido van Rossum2002-09-251-14/+15
| | | | except in the hands of experts. Will backport to 2.2.2.
* Only build the 'dl' extension when sys.maxint equals 2**31-1.Guido van Rossum2002-09-121-3/+5
| | | | | This module raises "SystemError: module dl requires sizeof(int) == sizeof(long) == sizeof(char*)" when compiled on 64-bit platforms.
* Revived the Carbon.Help module, but implementing the MacHelp API in steadJack Jansen2002-08-291-0/+4
| | | | | of the defunct Balloons API. Help tags are TBD, but at least this gives us access to the help menu.
* Slight reordering of directories searched for BerkDB libs and include files.Skip Montanaro2002-08-151-12/+23
| | | | | | | | | 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
* Patch #588564: _locale library patchJason Tishler2002-08-141-1/+6
| | | | | | | 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.
* Regress Guido's change of 2002/08/06 to check for the zlib versionBarry Warsaw2002-08-131-4/+13
| | | | | 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.
* Update the URL for getting zlib, and update the minimal requiredGuido van Rossum2002-08-061-4/+4
| | | | | version to 1.1.4 (because of the 1.1.3 security problem). Also replace a funny use of line.find() with line.startswith().
* Since the errno module is needed by os._execvpe(), and that is used by theFred Drake2002-08-051-2/+0
| | | | | | | 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).
* Build the _IBCarbon module.Jack Jansen2002-08-041-0/+2
|
* Revert last checkin. Man, that was stupid.Michael W. Hudson2002-08-031-1/+1
|
* Another fix for:Michael W. Hudson2002-08-031-1/+1
| | | | | | [ 589427 ] standard include paths on command line _ssl still got /usr/include on the command line.
* Fix forMichael W. Hudson2002-08-021-4/+5
| | | | [ 589427 ] standard include paths on command line
* The readme file said that OSX Carbon modules were only built forJack Jansen2002-07-081-29/+41
| | | | | | | -enable-framework builds, but setup.py built them anyway. Fixed. Also normalized whitespace. Bugfix candidate.
* More fixes for building MacPython extension modules. It now actually succeedsJack Jansen2002-06-271-16/+18
| | | | in building various modules.
* Fixed a few showstoppers in the process of making MacPython use setup.py to ↵Jack Jansen2002-06-261-17/+18
| | | | build it's exension modules (in stead of relying on a private mechanism). It definitely doesn't work yet, but it looks promising.
* In the Extension() call, add runtime_library_dirs so that a usefulBarry Warsaw2002-06-241-0/+10
| | | | | | -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.
* Patch #557719 by Tony Lownds, slightly massaged by me: streamline theJack Jansen2002-06-211-10/+75
| | | | | | | | | 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
* Update description of the Expat library.Fred Drake2002-06-171-6/+9
| | | | Closes SF bug #556370.
* This introduces stricter library/header file checking for the Berkeley DBSkip Montanaro2002-06-141-40/+112
| | | | | | | | | 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.
* Munge depends files to have absolute paths.Jeremy Hylton2002-06-131-2/+7
| | | | Look in both moddirlist and incdirlist, since a .h could be in either.
* Get rid of accidentally checked-in reference to "bits".Guido van Rossum2002-06-131-2/+0
|
* Add dependencies on socketmodule.h.Guido van Rossum2002-06-131-2/+6
|
* Patch #488073: AtheOS port.Martin v. Löwis2002-06-111-4/+15
|
* When using a Python that has not been installed to build 3rd-partyFred Drake2002-06-041-1/+0
| | | | | | | | | | | | | | | | | | modules, distutils does not understand that the build version of the source tree is needed. This patch fixes distutils.sysconfig to understand that the running Python is part of the build tree and needs to use the appropriate "shape" of the tree. This does not assume anything about the current directory, so can be used to build 3rd-party modules using Python's build tree as well. This is useful since it allows us to use a non-installed debug-mode Python with 3rd-party modules for testing. It as the side-effect that set_python_build() is no longer needed (the hack which was added to allow distutils to be used to build the "standard" extension modules). This closes SF patch #547734.
* Patch #491107: Cygwin setup.py import workaround patchJason Tishler2002-05-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | mwh wrote: > Jason, feel free to complain if you think this isn't > the right thing to do. I guess that I would like to complain and reopen this issue. :,) I cannot build a Python 2.2.1 with threads under Cygwin without this patch even though I'm using Michael's static _socket workaround. This is due to the Cygwin fork() problem with DLL base address conflicts that are triggered by importing many modules during the setup.py run. Similar problems can also be caused by regrtest.py. Even after my rebase patch is accepted into Cygwin's setup.exe, I feel this patch will still be necessary. This is because during the build process, the shared extensions (i.e., DLLs) will not be rebased yet. Hence, the potential for DLL base address conflicts will exist. One way to obviate this patch is to push the rebase functionality into Cygwin's ld. Unfortunately, I don't think this is likely to happen. Another possible way, is to use the yet to be defined and implemented unload module functionality: http://mail.python.org/pipermail/python-dev/2001-December/019028.html
* Removed old Digital Creations copyright/license notices (withGuido van Rossum2002-04-041-1/+1
| | | | | permission from Paul Everitt). Also removed a few other references to Digital Creations and changed the remaining ones to Zope Corporation.
* Fix SF # 532618 517704, install problems when building modules fail.Neal Norwitz2002-03-251-3/+8
| | | | Fix whitespace on a line also.
* Apply Jack's patch attached toMichael W. Hudson2002-03-071-3/+6
| | | | | | | | [ 508779 ] Disable flat namespace on MacOS X I presume you wanted this on the trunk too, Jack? 2.2.1 candidate.
* Changes to what we do to modules that don't import, asMichael W. Hudson2002-03-011-5/+5
| | | | discussed on python-dev.
* Break SSL support out of _socket module and place it into a newMarc-André Lemburg2002-02-161-21/+24
| | | | | | | | | | | | | | | | | | helper module _ssl. The support for the RAND_* APIs in _ssl is now only enabled for OpenSSL 0.9.5 and up since they were added in that release. Note that socketmodule.* should really be renamed to _socket.* -- unfortunately, this seems to lose the CVS history of the file. Please review and test... I was only able to test the header file chaos in socketmodule.c/h on Linux. The test run through fine and compiles don't give errors or warnings. WARNING: This patch does *not* include changes to the various non-Unix build process files.
* Compute expat -I directives from srcdir. Fixes #517214.Martin v. Löwis2002-02-141-1/+3
|
* Define VERSION in expat.h.Martin v. Löwis2002-02-131-1/+0
|
* Use included Expat library. Drop support for older expat versions.Martin v. Löwis2002-02-111-28/+24
|
* Fix forMichael W. Hudson2002-01-231-2/+5
| | | | | | | [ #433775 ] module build dir first in test import though not in the way the summary would suggest; use imp.load_dynamic() in setup.py to ensure we're testing the dynamic object we think we are.
* Sjoerd Mullender pointed out that setup.py contained some tabs,Michael W. Hudson2002-01-231-53/+53
| | | | | | so I threw reindent.py at it and look what happened! Did setup.py escape Tim's regular whitespace normalizations?
* Mac _Scrap module is now carbon-compliant, so build it on OSX.Jack Jansen2002-01-211-1/+2
|
* Apply a variant of patchMichael W. Hudson2002-01-161-4/+14
| | | | | | | [ #420565 ] makes setup.py search sys.prefix I think this also fixes some bug in the tracker about not searching directories that don't exist, but I can't find the report :(
* Patch #497126: Always compile dl.Martin v. Löwis2002-01-011-0/+5
|
* Update comments about mpz, pointing to gmpy and mxNumber rather thanGuido van Rossum2001-12-171-2/+4
| | | | to the non-existing pympz (did that ever exist?).
* build CoreGraphics under darwinJust van Rossum2001-12-131-0/+3
|
* Build _CarbonEvt module on Mac OS X. Still gives a couple of warningsJack Jansen2001-12-121-0/+2
| | | | but compiles OK.