summaryrefslogtreecommitdiffstats
path: root/Lib/sysconfig.py
Commit message (Collapse)AuthorAgeFilesLines
* 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-111-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-181-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-161-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
* | Fixed _sys_home computation and added diagnostics for Windows buildbot failures.Vinay Sajip2012-05-271-1/+2
| |
* | Addressed some buildbot errors and comments on the checkin by Antoine on ↵Vinay Sajip2012-05-261-1/+2
| | | | | | | | python-dev.
* | Implemented PEP 405 (Python virtual environments).Vinay Sajip2012-05-261-8/+21
| |
* | MERGE: And yet another emergency fix for #13803 bootstrap issue: Under ↵Jesus Cea2012-01-181-1/+1
|\ \ | |/ | | | | Solaris, distutils doesn't include bitness in the directory name
| * And yet another emergency fix for #13803 bootstrap issue: Under Solaris, ↵Jesus Cea2012-01-181-1/+1
| | | | | | | | distutils doesn't include bitness in the directory name
* | MERGE: Yet another emergency fix for #13803 bootstrap issue: Under Solaris, ↵Jesus Cea2012-01-181-0/+5
|\ \ | |/ | | | | distutils doesn't include bitness in the directory name
| * Yet another emergency fix for #13803 bootstrap issue: Under Solaris, ↵Jesus Cea2012-01-181-0/+5
| | | | | | | | distutils doesn't include bitness in the directory name
* | Remove unnecessary version checkÉric Araujo2011-11-071-2/+1
| |
* | Issue #13150: Add a comment in _sysconfigdata to explain the origin of this fileVictor Stinner2011-10-191-1/+4
| |
* | Issue #13150: sysconfig no longer parses the Makefile and config.h filesAntoine Pitrou2011-10-181-3/+16
| | | | | | | | | | when imported, instead doing it at build time. This makes importing sysconfig faster and reduces Python startup time by 20%.
* | Use a dict for faster sysconfig startup (issue #13150)Antoine Pitrou2011-10-111-1/+1
| |
* | Branch mergeÉric Araujo2011-05-261-3/+2
|\ \
| * | Minor cleanup in sysconfig.Éric Araujo2011-05-251-3/+2
| | | | | | | | | | | | Also remove outdated and unhelpful docstrings in test_sysconfig.
* | | (Merge 3.2) Issue #12070: Fix the Makefile parser of the sysconfig module toVictor Stinner2011-05-241-2/+4
|\ \ \ | |/ / |/| / | |/ handle correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
| * Issue #12070: Fix the Makefile parser of the sysconfig module to handleVictor Stinner2011-05-241-2/+4
| | | | | | | | correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
* | initial import of the packaging package in the standard libraryTarek Ziade2011-05-191-139/+142
|/
* Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set ↵Ronald Oussoren2011-05-151-18/+2
| | | | | | | | | in shell. Without this patch python will fail to start properly when the environment variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is not compatible with the value during Python's build. This is caused by code in sysconfig that was only meant to be used in disutils.
* Fix double use of f.close().Éric Araujo2011-04-151-1/+0
| | | | | The other one is in a finally block not seen in the diff, which I added in 3bf86785cd9c (for #10252).