summaryrefslogtreecommitdiffstats
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* [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.
* Mods to make WASTE module compile and link for MachoPython. Not testedJack Jansen2001-12-091-1/+19
| | | | any further, yet.
* Visious hackery to solve a build-control problem related to our use ofFred Drake2001-12-061-0/+7
| | | | | | | distutils for the library modules built as shared objects. A better solution appears possible, but with the threat that the distutils becomes more magical ("complex"). This closes SF bug #458343.
* Wrap some long lines.Fred Drake2001-12-061-11/+21
|
* [Bug #480882] Remove now-pointless check for existence for _curses_panel.c;Andrew M. Kuchling2001-12-061-2/+1
| | | | Bugfix candidate.
* As of OS X 10.1.1 the version numbering scheme has changed. Convert all ↵Jack Jansen2001-12-051-4/+6
| | | | "darwin*" to "darwin" and use that for testing.
* Support bsddb 3.2. Fixes #483653.Martin v. Löwis2001-11-241-1/+3
|
* The import check in setup.py fails on Mac OS X for Carbon-based modulesJack Jansen2001-11-011-0/+5
| | | | | | | if you are not building while logged in to the console (you cannot connect to the window server, so the Carbon library doesn't initialize). Added a quick hack to skip the import test, with a warning, for modules linked against Carbon.
* Link the core with CoreServices, not with Carbon, and don't use any CarbonJack Jansen2001-10-311-25/+45
| | | | | | | | | | routines. As of 10.1 using Carbon will crash Python if no window server is available (ssh connection, console mode, MacOSX Server). This fixes bug #466907. A result of this mod is that the default 8bit encoding on OSX is now ASCII, for the time being. Also, the extension modules that need the Carbon framework now explicitly include it in setup.py.