summaryrefslogtreecommitdiffstats
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Check for a not-found rlconf.h by testing for None.Martin v. Löwis2006-02-271-1/+1
|
* If the readline library is found try and determine whether it's the brokenJack Jansen2006-02-231-1/+8
| | | | MacOSX 10.4 readline, and don't build the readline module in that case.
* Patch #428494: Prefer linking against ncursesw over ncurses libraryMartin v. Löwis2006-02-111-1/+8
|
* Added the cProfile module.Armin Rigo2006-02-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | Based on lsprof (patch #1212837) by Brett Rosen and Ted Czotter. With further editing by Michael Hudson and myself. History in svn repo: http://codespeak.net/svn/user/arigo/hack/misc/lsprof * Module/_lsprof.c is the internal C module, Lib/cProfile.py a wrapper. * pstats.py updated to display cProfile's caller/callee timings if available. * setup.py and NEWS updated. * documentation updates in the profiler section: - explain the differences between the three profilers that we have now - profile and cProfile can use a unified documentation, like (c)Pickle - mention that hotshot is "for specialized usage" now - removed references to the "old profiler" that no longer exists * test updates: - extended test_profile to cover delicate cases like recursion - added tests for the caller/callee displays - added test_cProfile, performing the same tests for cProfile * TO-DO: - cProfile gives a nicer name to built-in, particularly built-in methods, which could be backported to profile. - not tested on Windows recently!
* Support for BerkeleyDB 4.4 (tested against 4.4.20 as well as all theGregory P. Smith2006-01-241-3/+5
| | | | | way back thru 3.2). This should be backported to the release24-maint branch.
* Whitespace normalization.Tim Peters2005-12-301-1/+1
|
* typo, use parens for continued exprSkip Montanaro2005-12-301-3/+3
|
* Bug #999767: make setup.py obey Setup.local wrt shared modulesGeorg Brandl2005-12-271-10/+11
|
* added cElementTree/_elementtree build stuff and wrapper moduleFredrik Lundh2005-12-141-0/+11
|
* Find bsd db v4 on gentoo (2005 i think)Neal Norwitz2005-10-201-0/+1
|
* Add a check for the OpenSSL version number to conditionally compileGregory P. Smith2005-08-231-11/+33
| | | | | the _hashlibopenssl module (>= 0.9.7 required) and to not compile the sha256 and sha512 modules if OpenSSL >= 0.9.8 is found.
* [ sf.net patch # 1121611 ]Gregory P. Smith2005-08-211-9/+26
| | | | | | | | | A new hashlib module to replace the md5 and sha modules. It adds support for additional secure hashes such as SHA-256 and SHA-512. The hashlib module uses OpenSSL for fast platform optimized implementations of algorithms when available. The old md5 and sha modules still exist as wrappers around hashlib to preserve backwards compatibility.
* Add support for FreeBSD 7.Hye-Shik Chang2005-07-171-1/+2
|
* 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