summaryrefslogtreecommitdiff
path: root/Lib/sysconfig.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-24916: Remove an outdated comment. (GH-19101)Serhiy Storchaka2020-03-211-2/+0
|
* bpo-1294959: Add sys.platlibdir attribute (GH-18381)Victor Stinner2020-03-101-6/+7
| | | | | | | | | | | | | Add --with-platlibdir option to the configure script: name of the platform-specific library directory, stored in the new sys.platlitdir attribute. It is used to build the path of platform-specific dynamic libraries and the path of the standard library. It is equal to "lib" on most platforms. On Fedora and SuSE, it is equal to "lib64" on 64-bit systems. Co-Authored-By: Jan Matějek <jmatejek@suse.com> Co-Authored-By: Matěj Cepl <mcepl@cepl.eu> Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com>
* bpo-38021: Modify AIX platform_tag so it covers PEP 425 needs (GH-17303)Michael Felt2019-12-161-1/+2
| | | | | | | | Provides a richer platform tag for AIX that we expect to be sufficient for PEP 425 binary distribution identification. Any backports to earlier Python versions will be handled via setuptools. Patch by Michael Felt.
* bpo-38234: test_embed: test pyvenv.cfg and pybuilddir.txt (GH-16366)Victor Stinner2019-09-251-1/+1
| | | | | | | Add test_init_pybuilddir() and test_init_pyvenv_cfg() to test_embed to test pyvenv.cfg and pybuilddir.txt configuration files. Fix sysconfig._generate_posix_vars(): pybuilddir.txt uses UTF-8 encoding, not ASCII.
* bpo-37201: fix test_distutils failures for Windows ARM64 (GH-13902)Paul Monson2019-06-121-0/+2
|
* bpo-35920: Windows 10 ARM32 platform support (GH-11774)Paul Monson2019-04-251-0/+2
|
* bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744)Steve Dower2019-02-041-3/+10
|
* bpo-32430: Rename Modules/Setup.dist to Modules/Setup (GH-8229)Antoine Pitrou2018-07-161-1/+1
| | | | | bpo-32430: Rename Modules/Setup.dist to Modules/Setup Remove the necessity to copy the former manually to the latter when updating the local source tree.
* remove support for BSD/OS (closes bpo-31624) (#3812)Benjamin Peterson2017-09-281-2/+2
|
* Remove all mention of Windows IA-64 support (GH-3389)Zachary Ware2017-09-061-11/+1
| | | It was mostly removed long ago.
* remove IRIX support (closes bpo-31341) (#3310)Benjamin Peterson2017-09-041-10/+5
| | | See PEP 11.
* bpo-29585: optimize site.py startup time (GH-136)INADA Naoki2017-06-291-16/+10
| | | | Avoid importing `sysconfig` from `site` by copying minimum code. Python startup is 5% faster on Linux and 30% faster on macOS
* bpo-29762: More use "raise from None". (#569)Serhiy Storchaka2017-04-051-1/+1
| | | This hides unwanted implementation details from tracebacks.
* Issue #28046: get_sysconfigdata_name() uses the _PYTHON_SYSCONFIGDATA_NAMEXavier de Gaye2016-09-111-14/+8
| | | | environment variable that is defined when cross-compiling.
* Issue #28046: Fix get_sysconfigdata_name().Xavier de Gaye2016-09-101-7/+14
|
* Issue #28046: Remove platform-specific directories from sys.pathZachary Ware2016-09-091-2/+11
|
* #27364: fix "incorrect" uses of escape character in the stdlib.R David Murray2016-09-081-1/+1
| | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.
* - Issue #23968: Rename the platform directory from plat-$(MACHDEP) todoko@ubuntu.com2016-06-141-2/+6
| | | | | | | | plat-$(PLATFORM_TRIPLET). Rename the config directory (LIBPL) from config-$(LDVERSION) to config-$(LDVERSION)-$(PLATFORM_TRIPLET). Install the platform specifc _sysconfigdata module into the platform directory and rename it to include the ABIFLAGS.
* Issue #25985: sys.version_info is now used instead of sys.versionSerhiy Storchaka2016-02-111-4/+4
| | | | to format short Python version.
* - Issue #24705: Fix sysconfig._parse_makefile not expanding ${} varsdoko@ubuntu.com2016-01-111-1/+6
| | | | appearing before $() vars.
* Closes #23437: Make user scripts directory versioned on Windows (patch by ↵Steve Dower2015-02-141-1/+1
| | | | pmoore)
* Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), ↵Steve Dower2014-11-221-12/+5
| | | | which will be used for the official 3.5 release.
* Issue #19760: Silence sysconfig's 'SO' key deprecation warnings in tests.Serhiy Storchaka2013-11-261-1/+1
| | | | Change stacklevel in warnings.warn() for 'SO' key to 2.
* A fix for issue 19555 on Windows.Barry Warsaw2013-11-221-4/+4
|
* - Issue #19555: Restore sysconfig.get_config_var('SO'), with aBarry Warsaw2013-11-211-0/+7
| | | | DeprecationWarning pointing people at $EXT_SUFFIX.
* Issue #18235: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX.Antoine Pitrou2013-10-191-1/+1
|\ | | | | | | Patch by David Edelsohn.
| * Issue #18235: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX.Antoine Pitrou2013-10-191-1/+1
| | | | | | | | Patch by David Edelsohn.
* | Issue #19205: Don't import the 're' module in site and sysconfig module toChristian Heimes2013-10-121-1/+3
| | | | | | | | to speed up interpreter start.
* | Issue #17177: Stop using imp in sysconfigBrett Cannon2013-06-151-2/+2
| |
* | - Issue #16754: Fix the incorrect shared library extension on linux. Introducedoko@ubuntu.com2013-03-211-1/+1
|\ \ | |/ | | | | | | 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-211-0/+1
| |\ | | | | | | | | | | | | 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-211-0/+1
| | | | | | | | | | | | | | | 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 #13590: OS X Xcode 4 - improve support for universal extension modulesNed Deily2013-01-311-143/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, fix extension module build failures when trying to use 32-bit-only installer Pythons on systems with Xcode 4 (currently OS X 10.8, 10.7, and optionally 10.6). * Backport 3.3.0 fixes to 3.2 branch (for release in 3.2.4) * Since Xcode 4 removes ppc support, extension module builds now check for ppc compiler support and by default remove ppc and ppc64 archs when they are not available. * Extension module builds now revert to using system installed headers and libs (/usr and /System/Library) if the SDK used to build the interpreter is not installed or has moved. * Try to avoid building extension modules with deprecated and problematic Apple llvm-gcc compiler. If original compiler is not available, use clang instead by default.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-4/+4
| | |
* | | Remove sys.platform == 'riscos' checks from some Python and test files. #16501Christian Heimes2012-11-191-1/+0
| | |
* | | Merge issue #15298.Trent Nelson2012-10-171-12/+17
|\ \ \ | |/ /
| * | Issue #15298: refactor previous fix from 66959d419369.Trent Nelson2012-10-171-12/+17
| | |
* | | Merge issue #15298: fix an OS X bootstrap issue with _sysconfigdata.py.Trent Nelson2012-10-171-6/+19
|\ \ \ | |/ /
| * | Issue #15298: fix an OS X bootstrap issue with _sysconfigdata.py.Trent Nelson2012-10-171-6/+19
| | | | | | | | | | | | Reported by: Ned Deily.
* | | Merge issue #15298: ensure _sysconfigdata is generated in build directory,Trent Nelson2012-10-161-1/+10
|\ \ \ | |/ / | | | | | | | | | | | | not source directory. Patch by: Richard Oudkerk (sbt).
| * | Issue #15298: ensure _sysconfigdata is generated in build directory,Trent Nelson2012-10-161-1/+10
| | | | | | | | | | | | | | | | | | not source directory. Patch by Richard Oudkerk (sbt).
* | | #16135: Removal of OS/2 support (Python code partial cleanup)Jesus Cea2012-10-051-21/+2
|/ /
* | Issue #15364: Fix sysconfig.get_config_var('srcdir') to be an absolute path.Richard Oudkerk2012-07-271-22/+16
| |
* | Issue #15184: Ensure consistent results of OS X configurationNed Deily2012-07-211-144/+10
| | | | | | | | | | | | | | tailoring for universal builds by factoring out common OS X-specific customizations from sysconfig, distutils.sysconfig, distutils.util, and distutils.unixccompiler into a new module _osx_support that can eventually also be used by packaging.
* | Issue #13590: Improve support for OS X Xcode 4:Ned Deily2012-07-151-3/+3
| | | | | | | | | | | | - fix test_distutils and test_sysconfig test failures by aligning sysconfig and distutils.sysconfig tailoring of configure variables (as in 2.7)
* | - Issue #14330: For cross builds, don't use host python, use host search pathsdoko@ubuntu.com2012-06-301-2/+2
| | | | | | | | | | | | for host compiler. Add NEWS entry, rename _PROJECT_BASE to _PYTHON_PROJECT_BASE.
* | - Issue #14330: For cross builds, don't use host python, use host search pathsdoko@ubuntu.com2012-06-301-0/+8
| | | | | | | | for host compiler.
* | Issue #15164: Change return value of platform.uname() from aLarry Hastings2012-06-241-1/+1
| | | | | | | | plain tuple to a collections.namedtuple.
* | Packaging removal: also revert introduction of sysconfig.cfg.Éric Araujo2012-06-241-73/+97
| | | | | | | | | | | | | | We need a discussion to define what should be customized how; this new config file is premature. It was added to serve the needs of the resources system in install_data / packaging.database, so it can be removed alongside packaging for 3.3.
* | Remove packaging from the standard library.Éric Araujo2012-06-241-1/+1
| | | | | | | | | | | | Distutils2 will live on on PyPI and be included in the stdlib when it is ready. See discussion starting at http://mail.python.org/pipermail/python-dev/2012-June/120430.html