summaryrefslogtreecommitdiffstats
path: root/Lib/sysconfig.py
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* sys.abiflags may not be defined on all platforms.Barry Warsaw2010-11-251-1/+5
|
* Final patch for issue 9807.Barry Warsaw2010-11-241-3/+8
|
* r84925 followup: add docstring for get_makefile_filename (+PEP 257 fixes)Éric Araujo2010-11-221-6/+7
|
* Always close files in distutils code and tests (#10252).Éric Araujo2010-11-051-7/+10
|
* Issue #6011: sysconfig and distutils.sysconfig use the surrogateescape errorVictor Stinner2010-10-231-1/+1
| | | | | | handler to parse the Makefile file. Avoid a UnicodeDecodeError if the source code directory name contains a non-ASCII character and the locale encoding is ASCII.
* Explicitly close some files (from issue #10093)Antoine Pitrou2010-10-141-1/+2
|
* Issue #6612: Fix site and sysconfig to catch os.getcwd() error, eg. if theVictor Stinner2010-10-121-8/+19
| | | | current directory was deleted.
* Issue #9437: Fix building C extensions with non-default LDFLAGS.Antoine Pitrou2010-10-101-0/+5
|
* Issue 9877: expose sysconfig.get_makefile_filename() in the public API.Barry Warsaw2010-09-201-5/+15
|
* Reverted changes which were inadvertently committed.Vinay Sajip2010-09-201-2/+1
|
* logging: added hasHandlers() to LoggerAdapter.Vinay Sajip2010-09-201-1/+2
|
* Ensure that test_site actually passes with a framework buildRonald Oussoren2010-08-011-1/+1
|
* Without this patch the value of sysconfig.get_config_var('LDSHARED')Ronald Oussoren2010-07-201-7/+27
| | | | | | | | | | | | | | is wrong when PY_LDFLAGS is not empty. The bug was caused by LDSHARED getting expanded *before* sysconfig renamed PY_LDSHARED (and simular values) to names without a PY_ prefix. The patch tries to maintain the intended behaviour of allowing users to set LDFLAGS in the environment and have that affect the build. Without this patch a universal build on OSX cannot build universal (fat binary) extensions.
* Fix for issue 9164Ronald Oussoren2010-07-111-2/+1
|
* Oops. Fix distutils tests that r82746 broke.Jeffrey Yasskin2010-07-091-1/+3
|
* Issue #9189: Allow users to set $CFLAGS, $CPPFLAGS, and $LDFLAGS when runningJeffrey Yasskin2010-07-091-0/+5
| | | | | | | | | | | | | configure to append to Python's default values for those variables, and similarly allow users to set $XXFLAGS on the make command line to append to the values set by configure. In the makefile, this renames the variables that used to be $XXFLAGS to $PY_XXFLAGS, and renames the old $PY_CFLAGS to $PY_CORE_CFLAGS. To compensate, sysconfig now aliases $XXFLAGS=$PY_XXFLAGS so that scripts using it keep working. I see that as the right interface, not a backward-compatibility hack, since these are logically the $XXFLAGS variables; we just use a different name in the makefile to deal with make's semantics.
* Fix for buildbot failure in r81999.Ronald Oussoren2010-06-151-0/+2
|
* Fix for issue #8577: without this patch test_distutilsRonald Oussoren2010-06-151-2/+2
| | | | | | will fail when builddir != srcdir (that is, when you run configure in a directory that is not the top of the source tree).
* added the list of public APIs in sysconfigTarek Ziadé2010-05-251-0/+4
|
* Made sysconfig a script that displays useful information - #8770Tarek Ziadé2010-05-251-0/+19
|
* Merged revisions 81371 via svnmerge fromTarek Ziadé2010-05-191-8/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81371 | tarek.ziade | 2010-05-20 00:20:14 +0200 (Thu, 20 May 2010) | 1 line #8759: Fixed user paths in sysconfig for posix and os2 schemes ........
* Merged revisions 80967 via svnmerge fromRonald Oussoren2010-05-081-1/+20
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80967 | ronald.oussoren | 2010-05-08 12:29:06 +0200 (Sat, 08 May 2010) | 4 lines Issue #8084: ensure that the --user directory conforms to platforms standars on OSX when using a python framework. ........
* Merged revisions 78835-78837 via svnmerge fromVictor Stinner2010-03-121-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78835 | victor.stinner | 2010-03-11 13:34:39 +0100 (jeu., 11 mars 2010) | 7 lines Issue #7774: Set sys.executable to an empty string if argv[0] has been set to an non existent program name and Python is unable to retrieve the real program name. Fix also sysconfig: if sys.executable is an empty string, use the current working directory. ........ r78836 | victor.stinner | 2010-03-11 14:27:35 +0100 (jeu., 11 mars 2010) | 4 lines Fix test_executable introduce in previous commit (r78835): Windows is able to retrieve the absolute Python path even if argv[0] has been set to a non existent program name. ........ r78837 | victor.stinner | 2010-03-11 14:46:06 +0100 (jeu., 11 mars 2010) | 3 lines Another fix to test_executable() of test_sys: set the current working to avoid the #7774 bug. ........
* Merged revisions 78833 via svnmerge fromFlorent Xicluna2010-03-111-3/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78833 | florent.xicluna | 2010-03-11 02:50:48 +0100 (jeu, 11 mar 2010) | 2 lines Revert r78830: realpath() should really be applied to sys.executable. ........