aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/distutils/command/build_ext.py
Commit message (Collapse)AuthorAge
* gh-92584: Remove the distutils package (#99061)Victor Stinner2022-11-03
| | | | | | | | | | | | Remove the distutils package. It was deprecated in Python 3.10 by PEP 632 "Deprecate distutils module". For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils. * Remove Lib/distutils/ directory * Remove test_distutils * Remove references to distutils * Skip test_check_c_globals and test_peg_generator since they use distutils
* bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124)Hugo van Kemenade2022-03-30
|
* bpo-39432: Implement PEP-489 algorithm for non-ascii "PyInit_*" symbol names ↵Stefan Behnel2020-02-04
| | | | | | | | | in distutils (GH-18150) Make it export the correct init symbol also on Windows. https://bugs.python.org/issue39432
* bpo-36302: Sort list of sources (GH-12341)Bernhard M. Wiedemann2019-08-01
| | | | | | | | | | | | | | | | | | When building packages (e.g. for openSUSE Linux) (random) filesystem order of input files influences ordering of functions in the output .so files. Thus without the patch, builds (in disposable VMs) would usually differ. Without this patch, all callers have to be patched individually https://github.com/dugsong/libdnet/pull/42 https://github.com/sass/libsass-python/pull/212 https://github.com/tahoe-lafs/pycryptopp/pull/41 https://github.com/yt-project/yt/pull/2206 https://github.com/pyproj4/pyproj/pull/142 https://github.com/pytries/datrie/pull/49 https://github.com/Roche/pyreadstat/pull/37 but that is an infinite effort. See https://reproducible-builds.org/ for why this matters.
* bpo-21536: On Cygwin, C extensions must be linked with libpython (GH-13549)E. M. Bray2019-05-24
| | | | | | | | | | It is also possible to link against a library or executable with a statically linked libpython, but not both with the same DLL. In fact building a statically linked python is currently broken on Cygwin for other (related) reasons. The same problem applies to other POSIX-like layers over Windows (MinGW, MSYS) but Python's build system does not seem to attempt to support those platforms at the moment.
* bpo-21536: On Android, C extensions are linked to libpython (GH-12989)xdegaye2019-04-29
|
* bpo-21536: C extensions are no longer linked to libpython (GH-12946)Victor Stinner2019-04-25
| | | | | | | | | | | | | | On Unix, C extensions are no longer linked to libpython. It is now possible to load a C extension built using a shared library Python with a statically linked Python. When Python is embedded, libpython must not be loaded with RTLD_LOCAL, but RTLD_GLOBAL instead. Previously, using RTLD_LOCAL, it was already not possible to load C extensions which were not linked to libpython, like C extensions of the standard library built by the "*shared*" section of Modules/Setup. distutils, python-config and python-config.py have been modified.
* bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744)Steve Dower2019-02-04
|
* bpo-35133: Fix mistakes when concatenate string literals on different lines. ↵Serhiy Storchaka2018-11-05
| | | | | | | | | | (GH-10284) Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings.
* fixes bpo-31866: remove code pertaining to AtheOS support (#4115)Benjamin Peterson2017-10-25
| | | | We stop support this OS in 2007 with commit 19fab761b71a1687aee3415db3a937b5ce31975d. Let's finish.
* Remove all mention of Windows IA-64 support (GH-3389)Zachary Ware2017-09-06
| | | It was mostly removed long ago.
* Issue #13756: Fix building extensions modules on CygwinZachary Ware2016-10-01
| | | | Patch by Roumen Petrov, based on original patch by Jason Tishler.
* merge 3.5 (#1703178)Benjamin Peterson2016-09-28
|\
| * build_ext: correctly parse the link_objects user option (closes #1703178)Benjamin Peterson2016-09-28
| | | | | | | | Patch by Valerie Lambert.
* | Closes #27904: Improved logging statements to defer formatting until needed.Vinay Sajip2016-08-31
|/
* - Issue #26884: Fix linking extension modules for cross builds.doko@ubuntu.com2016-06-05
| | | | Patch by Xavier de Gaye.
* Issue #23970: Adds distutils._msvccompiler for new Visual Studio versions.Steve Dower2015-05-23
|
* Fixes distutils adding/expecting too many _d suffixes.Steve Dower2014-12-15
|
* Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), ↵Steve Dower2014-11-22
| | | | which will be used for the official 3.5 release.
* - Issue #17219: Add library build dir for Python extension cross-builds.doko@ubuntu.com2014-10-02
|\
| * - Issue #17219: Add library build dir for Python extension cross-builds.doko@ubuntu.com2014-10-02
| |
* | Remove pointless "vile hack" that can cause the build step to fail when some ↵Antoine Pitrou2014-09-30
| | | | | | | | | | | | extension modules can't be imported. See issue #5309 for the build failures, issue #458343 for the original motivation.
* | Issue #5309: distutils' build and build_ext commands now accept a ``-j``Antoine Pitrou2014-09-26
|/ | | | option to enable parallel building of extension modules.
* remove various dead version checks (closes #22349)Benjamin Peterson2014-09-06
| | | | Patch from Thomas Kluyver.
* Issue #9709: Revert 97fb852c5c26. Many extensions are not using PyMODINIT_FUNC.Stefan Krah2014-01-28
|
* Issue #9709: Stop adding PyInit_" + module_name' to export_symbols. This isStefan Krah2013-12-03
| | | | already done by PyMODINIT_FUNC.
* Issue #4366: Fix building extensions on all platforms when --enable-shared ↵Antoine Pitrou2013-09-29
|\ | | | | | | is used.
| * Issue #4366: Fix building extensions on all platforms when --enable-shared ↵Antoine Pitrou2013-09-29
| | | | | | | | is used.
* | - Issue #16754: Fix the incorrect shared library extension on linux. Introducedoko@ubuntu.com2013-03-21
|\| | | | | | | | | two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
| * - Issue #16754: Fix the incorrect shared library extension on linux. Introducedoko@ubuntu.com2013-03-21
| |\ | | | | | | | | | | | | two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
| | * - Issue #16754: Fix the incorrect shared library extension on linux. Introducedoko@ubuntu.com2013-03-21
| | | | | | | | | | | | | | | two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
* | | Closes #16116: Merged fix from 3.3.Vinay Sajip2012-10-23
|\| |
| * | Issue #16116: Now uses corrected include and library paths when building C ↵Vinay Sajip2012-10-23
| | | | | | | | | | | | extensions in a venv.
* | | Closes #16135: Removal of OS/2 support (distutils)Jesus Cea2012-10-11
|/ /
* | Closes #15367: Corrected computation of include locations for source builds ↵Vinay Sajip2012-07-16
| | | | | | | | on Windows. Thanks to Richard Oudkerk for the bug report and patch.
* | Fix #13210. Port the Windows build from VS2008 to VS2010.Brian Curtin2012-05-13
| |
* | Merge fixes for #1326113 and #12297 from 3.2Éric Araujo2012-02-15
|\|
| * Fix parsing of build_ext --libraries option (#1326113)Éric Araujo2012-02-15
| |
* | Issue #12326: refactor usage of sys.platformVictor Stinner2011-08-21
|/ | | | | | | | * Use str.startswith(tuple): I didn't know this Python feature, Python rocks! * Replace sometimes sys.platform.startswith('linux') with sys.platform == 'linux' * sys.platform doesn't contain the major version on Cygwin on Mac OS X (it's just 'cygwin' and 'darwin')
* Fix closes Issue11439 Remove the SVN keywords from the code as it is no ↵Senthil Kumaran2011-07-28
| | | | longer applicable in hg. Patch Contributed by Neil Muller.
* Fix build_ext with VS 8.0. Patch by Hirokazu Yamamoto (#9558).Éric Araujo2010-12-15
|
* First (uncontroversial) part of issue 9807.Barry Warsaw2010-10-16
| | | | | | | | | * Expose the build flags to Python as sys.abiflags * Shared library libpythonX.Y<abiflags>.so * python-config --abiflags * Make two distutils tests that failed with --enable-shared (even before this patch) succeed. * Fix a few small style issues.
* Issue #941346: Improve the build process under AIX and allow Python toAntoine Pitrou2010-09-10
| | | | be built as a shared library. Patch by Sébastien Sablé.
* reverted distutils its 3.1 state. All new work is now happening in ↵Tarek Ziadé2010-07-22
| | | | disutils2, and distutils is now feature-frozen.
* Merged revisions 77759,77761 via svnmerge fromTarek Ziadé2010-01-29
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77759 | tarek.ziade | 2010-01-26 22:21:54 +0100 (Tue, 26 Jan 2010) | 1 line reintroduced the names in Distutils for APIs that were relocated ........ r77761 | tarek.ziade | 2010-01-26 23:46:15 +0100 (Tue, 26 Jan 2010) | 1 line added local get_platform/set_platform APIs in distutils.sysconfig ........
* Merged revisions 77704,77752 via svnmerge fromTarek Ziadé2010-01-29
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line taking sysconfig out of distutils ........ r77752 | tarek.ziade | 2010-01-26 00:19:56 +0100 (Tue, 26 Jan 2010) | 1 line switched the call order so this call works without suffering from issue #7774 ........
* Merged revisions 76956 via svnmerge fromTarek Ziadé2009-12-21
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76956 | tarek.ziade | 2009-12-21 02:22:46 +0100 (Mon, 21 Dec 2009) | 1 line massive import cleaning in Distutils ........
* Remove AtheOS support, as per PEP 11 (which claims that all code was removed ↵Antoine Pitrou2009-10-24
| | | | in Python 3.0).
* Merged revisions 73946 via svnmerge fromTarek Ziadé2009-07-11
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73946 | tarek.ziade | 2009-07-11 12:55:27 +0200 (Sat, 11 Jul 2009) | 1 line fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit' ........
* Merged revisions 73901 via svnmerge fromTarek Ziadé2009-07-09
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73901 | tarek.ziade | 2009-07-09 09:42:42 +0200 (Thu, 09 Jul 2009) | 1 line PendingDeprecationWarning -> DeprecationWarning in build_ext ........