summaryrefslogtreecommitdiffstats
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Make parse_makefile fallback to environment variables if nothing isMartin v. Löwis2005-04-251-2/+2
| | | | | defined in the makefile. Get CFLAGS from the Makefile, instead of getting OPT, BASE_CFLAGS and EXTRA_CFLAGS individually.
* Fix building of spwd; was incorrectly checking for the needed HAVE_* values toBrett Cannon2005-04-151-4/+5
| | | | | | | | properly build the module. Also moved up the creation of config_h_vars (from distutils.sysconfig.parse_config_h()) higher on up in detect_modules() so that it can be used sooner).
* add support for another DB library naming convention (FreeBSD ports)Andrew MacIntyre2005-03-091-1/+3
|
* Build with --disable-unicode again. Fixes #1158607.Martin v. Löwis2005-03-081-5/+6
| | | | Will backport to 2.4.
* SF patch #941881: PEP 309 Implementation (Partial Function Application).Raymond Hettinger2005-02-281-0/+2
| | | | | Combined efforts of many including Peter Harris, Hye-Shik Chang, Martin v. Löwis, Nick Coghlan, Paul Moore, and Raymond Hettinger.
* spwdmodule.c should only be built when either HAVE_GETSPNAM or HAVE_GETSPENT isBrett Cannon2005-02-161-2/+4
| | | | defined.
* Patch #579435: Shadow Password Support ModuleMartin v. Löwis2005-01-231-0/+2
|
* Since it is a possibility that LDFLAGS or CPPFLAGS were set with options thatBrett Cannon2005-01-021-2/+3
| | | | | in no way affect library or include directories the code must take that into account and not assume some options were found.
* Strip out double dashes and dashes for options not used during parsing ofBrett Cannon2004-12-311-2/+16
| | | | | | LDFLAGS and CPPFLAGS for library and include directories, respectively. Solves issue of either env var containing other options that do not pertain to the directories being searched for.
* Switch from getting LDFLAGS and CPPFLAGS from the environment to the Makefile.Brett Cannon2004-12-181-5/+5
| | | | | | | | This is to avoid a problem that inconsistently comes up where the environment variable is unset while the Makefile clearly has the values set and are used during ``make``. Closes bug #1081045.
* rewrote the bsddb module BerkeleyDB library and include file locatingGregory P. Smith2004-12-131-72/+93
| | | | | code. This version is much cleaner and makes a proper attempt at pairing up the correct header file and library.
* the bsddb module now also works with BerkeleyDB 4.3.Gregory P. Smith2004-12-131-4/+7
|
* Change code in setup.py for parsing LDFLAGS and CPPFLAGS to use optparseBrett Cannon2004-12-071-6/+5
| | | | | instead of getopt. Required making use of gettext._ as optional (optparse changed OK'ed by Greg Ward in private email).
* setup.py now uses the library directories specified in LDFLAGS (``-L``Brett Cannon2004-12-071-9/+18
| | | | | | | | | | | | | | | | | | | directories) and the include directories specified in CPPFLAGS (``-I`` directories) for compiling the extension modules. This has led to the core being compiled with the values in the shell's CPPFLAGS. It has also removed the need for special casing to use Fink and DarwinPorts under darwin since the needed directories can now be specified in LDFLAGS and CPPFLAGS (e.g., DarwinPorts users can now do ``LDFLAGS=-L/opt/local/lib; CPPFLAGS=-I/opt/local/include; ./configure`` for everything to work properly). Parsing the values in the environment variables is done with getopt. While optparse would have been a nicer solution it cannot be used because of dependency issues at execution time; optparse uses gettext which uses struct which will not have been compiled when the code is imported. If optparse ever makes its importation of gettext optional by catching ImportError and setting _() to an identity function then it can be used.
* Patch #1050475: Fix various x86_64 build issuesMartin v. Löwis2004-11-131-1/+5
| | | | | | regrtest.py: skip rgbimg and imageop as they are not built on 64-bit systems. _tkinter.c: replace %.8x with %p for printing pointers. setup.py: add lib64 into the library directories.
* Patch 983206: distutils obeys LDSHARED env var. Removed the code inAnthony Baxter2004-10-131-3/+0
| | | | | Python's own setup.py that did the same thing (and tested on Solaris, where LDSHARED is needed...)
* Add the directories where DarwinPorts installs library and include files toBrett Cannon2004-09-281-2/+5
| | | | the proper path directories for compiling extension modules.
* Remove mpz, rotor, xreadlines modulesAndrew M. Kuchling2004-08-311-23/+1
|
* Whitespace normalization.Tim Peters2004-08-261-2/+2
|
* When building with --disable-toolbox-glue under Darwin, skip building anyBrett Cannon2004-08-261-2/+4
| | | | | | | | Mac-specific modules. Before all modules were compiled but would fail thanks to a dependence on the code included when Python was built without the compiler flag. Closes bug #991962.
* Add support for FreeBSD 6.Hye-Shik Chang2004-08-181-1/+1
|
* Whitespace normalization.Tim Peters2004-07-231-1/+1
|
* ossaudiodev is available on FreeBSD 5 too.Hye-Shik Chang2004-07-201-1/+1
|
* Move comment that goes along with audioopNeal Norwitz2004-07-191-1/+1
|
* Patch #993173: Enable audioop on 64-bit platforms.Martin v. Löwis2004-07-191-1/+4
|
* Whitespace normalization. Ran reindent.py over the entire source tree.Tim Peters2004-07-181-1/+1
|
* Bring CJKCodecs 1.1 into trunk. This completely reorganizes sourceHye-Shik Chang2004-07-181-9/+3
| | | | | | and installed layouts to make maintenance simple and easy. And it also adds four new codecs; big5hkscs, euc-jis-2004, shift-jis-2004 and iso2022-jp-2004.
* _localemodule now needs to be linked with CoreFoundation on darwin.Jack Jansen2004-07-151-1/+8
|
* Install Barry's smtpd.py daemon.Skip Montanaro2004-06-261-1/+2
|
* Add compilation of timemodule.c with datetimemodule.c to getBrett Cannon2004-06-241-1/+1
| | | | __PyTime_DoubleToTimet().
* Patch #926209: Patch to setup.py to run on x86_64 Linux.Martin v. Löwis2004-06-041-1/+1
|
* Don't build the pcre module any moreAndrew M. Kuchling2004-06-021-1/+0
|
* * Restore the pure python version of heapq.py.Raymond Hettinger2004-04-191-1/+1
| | | | * Mark the C version as private and only use when available.
* [Patch #905863] Support the CVS version of Tcl/Tk, which has the version ↵Andrew M. Kuchling2004-03-211-1/+1
| | | | number 8.5
* [Patch #850977] Detect Tcl/Tk libraries on FreeBSD/OpenBSD. Bugfix candidateAndrew M. Kuchling2004-03-211-7/+15
|
* a couple other sunos4 support items removedSkip Montanaro2004-02-071-5/+1
|
* * Move collections.deque() in from the sandboxRaymond Hettinger2004-01-291-0/+2
| | | | | | * Add unittests, newsitem, and whatsnew * Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py * Docs are forthcoming
* Add CJK codecs support as discussed on python-dev. (SF #873597)Hye-Shik Chang2004-01-171-0/+13
| | | | | Several style fixes are suggested by Martin v. Loewis and Marc-Andre Lemburg. Thanks!
* SF Patch #864863: Bisect C implementationRaymond Hettinger2004-01-051-0/+2
| | | | (Contributed by Dmitry Vasiliev.)
* Adding an interface to the high-level Open Scripting Architecture,Jack Jansen2003-12-031-0/+2
| | | | | | by request of Donovan Preston. In return, he promised to use this to create a Python OSA component, which would turn Python into a first-class OSA scripting language (like AppleScript itself).
* An interface to the LaunchServices API.Jack Jansen2003-12-021-0/+2
|
* remove "support" for BerkeleyDB 3.1, it hasn't worked for a long timeGregory P. Smith2003-11-131-8/+2
|
* Convert heapq.py to a C implementation.Raymond Hettinger2003-11-081-0/+2
|
* [Patch #772077 from Tim Rice] Fix for compiling the readline module on ↵Andrew M. Kuchling2003-10-241-3/+3
| | | | UnixWare; fix goofy comment indent. 2.3 bugfix candidate
* Provide a bit more information to the compiler when building Expat.Fred Drake2003-10-211-11/+16
| | | | | This avoids having to modify the Expat sources in any way starting with Expat 1.95.7.
* Add BerkeleyDB 4.2 to the library search for the bsddb module.Gregory P. Smith2003-09-221-4/+11
|
* Remove possibly-misleading Expat versionAndrew M. Kuchling2003-09-151-2/+2
|
* patch #764612 - find DB 4.1/4.0/3.x on FreeBSD and systems with similarAndrew MacIntyre2003-07-101-2/+3
| | | | installation location policies.
* Convert some repetitive code into a loopNeal Norwitz2003-06-171-14/+5
|
* Patch #752671: NetBSD needs to link libintl to _locale.so.Martin v. Löwis2003-06-141-1/+3
|