summaryrefslogtreecommitdiff
path: root/setup.py
AgeCommit message (Collapse)AuthorLines
2019-07-01bpo-19960: Fix building of zlib on macOS without installed headers (GH-14257)Ned Deily-2/+9
When building 2.7 on macOS without system header files installed in ``/usr/include``, a few extension modules dependent on system-supplied third-party libraries were not being built, most notably zlib. This situation arose in the past when building without the Command Line Tools and the option to install header files in the traditional system locations (like /usr/include). As of macOS 10.14, the header files are only available in an SDK so the problem addressed here affects most 2.7 builds.
2019-06-20bpo-36231: Support building on macOS without /usr/include (GH-13773) (GH-14256)Ned Deily-7/+46
2018-02-25[2.7] bpo-32647: Link ctypes extension with libdl. (GH-5550) (#5877)Christian Heimes-0/+4
The ctypes module used to depend on indirect linking for dlopen. The shared extension is now explicitly linked against libdl on platforms with dl. Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 5bb9692575f10f4a7c7f1c2c0c70956baf6d5c23) Co-authored-by: Christian Heimes <christian@python.org>
2018-01-27[2.7] bpo-32521: nis libnsl (GH-5190) (#5353)Christian Heimes-18/+48
The nismodule is now compatible with new libnsl and headers location Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 29a7df78277447cf6b898dfa0b1b42f8da7abc0c)
2018-01-12bpo-32521: nis libtirpc (GH-5137) (#5166)Miss Islington (bot)-5/+12
glibc has removed Sun RPC. Use replacement libtirpc headers and library in nis module Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit f3031b8a7ad71d3b6ed05da7f3041d9efbe773cf)
2017-08-19bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106) (#3145)Victor Stinner-0/+3
* bpo-30947: Update libexpat from 2.2.1 to 2.2.3 * Add NEWS entry * Add new loadlibrary.c * expat_external.h: restore include "pyexpatns.h" * PCbuild: add expat/loadlibrary.c * Define XML_POOR_ENTROPY to compile expat Python 2.7 backport: add expat/loadlibrary.c to PC/VS9.0/ project files (_elementtree and pyexpat). (cherry picked from commit 93d0cb58b4da2a88c56f472c6c19491cc7a390df)
2016-09-18Issue #26661: setup.py now detects system libffi with multiarch wrapper.Christian Heimes-7/+9
2016-08-20Fix some spelling errorsMartin Panter-1/+1
2016-06-02Issue #27171: Fix typos in documentation, code comments, and testsMartin Panter-2/+2
2007-09-04fix typoFred Drake-1/+1
2016-02-03Issue #24421: Compile _math.c separately to avoid race conditionMartin Panter-4/+8
2016-02-25Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries.Ned Deily-0/+16
As of Xcode 7, SDKs for Apple platforms now include textual-format stub libraries whose file names have a .tbd extension rather than the standard OS X .dylib extension. The Apple compiler tool chain handles these stub libraries transparently and the installed system shared libraries are still .dylibs. However, the new stub libraries cause problems for third-party programs that support building with Apple SDKs and make build-time decisions based on the presence or paths of system-supplied shared libraries in the SDK. In particular, building Python itself with an SDK fails to find system-supplied libraries during setup.py's build of standard library extension modules. The solution is to have find_library_file() in Distutils search for .tbd files, along with the existing types (.a, .so, and .dylib). Patch by Tim Smith.
2015-01-21detect 64-bit systems using maxsize not maxintBenjamin Peterson-1/+1
2014-09-27Issue #16537: Check whether self.extensions is empty in setup.py.Berker Peksag-1/+3
Patch by Jonathan Hosmer.
2014-06-25Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.Ned Deily-1/+3
2014-04-17- Issue #21285: Refactor and fix curses configure check to always searchdoko@ubuntu.com-0/+5
in a ncursesw directory.
2014-03-15remove runtime_library_dirs for _sqlite; it isn't neededBenjamin Peterson-1/+0
2013-10-26check for berkelydb versions besides 4.3 (#18734)Benjamin Peterson-1/+1
2013-10-25Issue #1584: Provide options to override default search paths for Tcl and TkNed Deily-1/+42
when building _tkinter. configure has two new options; if used, both must be specified: ./configure \ --with-tcltk-includes="-I/opt/local/include" \ --with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5" In addition, the options can be overridden with make: make \ TCLTK_INCLUDES="-I/opt/local/include" \ TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
2013-10-18Ensure setup.py looks for zlib.h in an OS X SDK.Ned Deily-0/+2
2013-10-13Closes #16732: move "xxmodule" comment block to detect_modules(). (Already ↵Georg Brandl-4/+4
done in 3.x)
2013-05-15Issue #17990: Only modify include and library search paths when cross-compiling.Ned Deily-3/+5
2013-04-11- Issue #17086: Search the include and library directories provided by thedoko@ubuntu.com-0/+1
compiler.
2013-03-19- Issue #17477: Update the bsddb module to pybsddb 5.3.0, supportingdoko@ubuntu.com-3/+7
db-5.x, and dropping support for db-4.1 and db-4.2.
2013-03-19issue #9090 : Take the same approach for socketmodule as daytimemoduleKristján Valur Jónsson-2/+3
when it needs support from timemodule (which is a .so on linux): link in timemodule.c for the required functions.
2013-02-23Issue #5033: Fix building of the sqlite3 extension modulePetri Lehtinen-1/+1
2013-02-09add proper dependencies on expat headers and sourcesChristian Heimes-1/+17
2013-01-31- Issue #17086: Backport the patches from the 3.3 branch to cross-builddoko@python.org-79/+135
the package.
2013-01-26Issue #14018: fix merge errorNed Deily-1/+0
2012-09-21- Issue #11715: Fix multiarch detection without having Debian developmentdoko@ubuntu.com-0/+21
tools (dpkg-dev) installed.
2012-09-06Issue #15591: run ctypes' configure in quiet mode when setup.py runs silentlyChristian Heimes-0/+2
2012-08-05Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.Ned Deily-4/+4
2012-07-30Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.Ned Deily-0/+3
2012-06-17Issue #15044: Handle Fedora 17's approach to ndbm compatibility (backport ↵Nick Coghlan-1/+5
from 3.x)
2012-04-12Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.Charles-François Natali-0/+4
2012-02-29Issue #14152: backport fix.Stefan Krah-1/+1
2011-04-07Backport for Python 2.7 of issue 11715 support for building Python onBarry Warsaw-0/+23
multiarch Debian/Ubuntu.
2011-03-16#11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti-2/+2
2011-03-15#11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti-1/+1
2010-10-31Merged revisions 86040 via svnmerge fromBenjamin Peterson-1/+1
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86040 | benjamin.peterson | 2010-10-31 11:38:19 -0500 (Sun, 31 Oct 2010) | 1 line typo ........
2010-10-20Merged revisions 85744 via svnmerge fromRonald Oussoren-1/+6
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85744 | ronald.oussoren | 2010-10-20 15:10:12 +0200 (Wed, 20 Oct 2010) | 7 lines Fix for issue #7473. Without this patch you'll get link errors in some extensions (in particular the _curses_panel) one when you try to build a 3-way universal framework when you previously installed a 2-way universal framework using the python.org installer. ........
2010-09-16Merged revisions 84535 via svnmerge fromRonald Oussoren-0/+1
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84535 | ronald.oussoren | 2010-09-05 20:25:59 +0200 (Sun, 05 Sep 2010) | 2 lines Fix for issue9662, patch by Łukasz Langa in issue5504. ........
2010-09-07Merged revisions 84584 via svnmerge fromAntoine Pitrou-1/+5
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84584 | antoine.pitrou | 2010-09-07 16:52:42 +0200 (mar., 07 sept. 2010) | 4 lines Issue #4026: Make the fcntl extension build under AIX. Patch by Sébastien Sablé. ........
2010-08-21Remove weakref from setup.py now that it is builtin.Georg Brandl-1/+1
2010-08-08Fis issue5504: ctypes does now work with systems where mmap can't beThomas Heller-2/+1
PROT_WRITE and PROT_EXEC.
2010-07-17Issue #7384: On Gentoo, libreadline.so is a "fake library", so ldd fails.Stefan Krah-10/+12
In that case, do not attempt to parse stderr output.
2010-06-27Two small fixes for the support for SDKs on MacOSX:Ronald Oussoren-1/+2
1) The code that checks if an path should be located in the SDK explicitly excludes /usr/local. This fixes issue9046 2) The SDK variant for filtering "db_dirs_to_check" in setup.py was not doing anything because of a missing assignment.
2010-06-04Detect missing ldd on all systems.Stefan Krah-1/+2
2010-06-03Use compiler rather than compiler_obj. Thanks Michael Foord for noticing.Stefan Krah-3/+3
2010-06-03Issue #7384: If the system readline library is linked against ncurses,Stefan Krah-19/+37
the curses module must be linked against ncurses as well. Otherwise it is not safe to load both the readline and curses modules in an application. Thanks Thomas Dickey for answering questions about ncurses/ncursesw and readline!