summaryrefslogtreecommitdiffstats
path: root/Lib/sysconfig.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22199: Make get_makefile_filename() available in Lib/sysconfig.pyNed Deily2014-08-221-2/+6
| | | | for 2.7 to match other versions of sysconfig.
* - Issue #13150, #17512: sysconfig no longer parses the Makefile and config.hdoko@ubuntu.com2013-04-081-3/+72
| | | | | files when imported, instead doing it at build time. This makes importing sysconfig faster and reduces Python startup time by 20%.
* backout 66e30c4870bb for breaking OSX (#13150)Benjamin Peterson2013-03-221-72/+3
|
* - Issue #13150: sysconfig no longer parses the Makefile and config.h filesdoko@ubuntu.com2013-03-211-3/+72
| | | | | when imported, instead doing it at build time. This makes importing sysconfig faster and reduces Python startup time by 20%.
* - Issue #17086: Backport the patches from the 3.3 branch to cross-builddoko@python.org2013-01-311-0/+8
| | | | the package.
* Issue #13590: OS X Xcode 4 - improve support for universal extension modulesNed Deily2013-01-311-142/+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 2.7 branch (for release in 2.7.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.
* Issue #10881: Fix test_site failures with OS X framework builds.Ned Deily2012-02-051-2/+3
|
* 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
* Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set ↵Ronald Oussoren2011-05-151-18/+1
| | | | | | | | | 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).
* - Issue #11171: Fix detection of config/Makefile when --prefix !=Barry Warsaw2011-02-141-1/+1
| | | | --exec-prefix, which caused Python to not start.
* Merged revisions 86223-86224,86226,86234 via svnmerge fromÉric Araujo2010-11-061-7/+10
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86223 | eric.araujo | 2010-11-06 00:51:56 +0100 (sam., 06 nov. 2010) | 2 lines Always close files in distutils code and tests (#10252). ........ r86224 | eric.araujo | 2010-11-06 00:58:34 +0100 (sam., 06 nov. 2010) | 2 lines Add missing entry for r86223. ........ r86226 | eric.araujo | 2010-11-06 00:59:32 +0100 (sam., 06 nov. 2010) | 2 lines Of course, I forgot one file in r86223. ........ r86234 | eric.araujo | 2010-11-06 03:10:32 +0100 (sam., 06 nov. 2010) | 2 lines Also close file descriptors from os.popen and subprocess.Popen ........
* Merged revisions 85497 via svnmerge fromAntoine Pitrou2010-10-141-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85497 | antoine.pitrou | 2010-10-14 23:15:17 +0200 (jeu., 14 oct. 2010) | 3 lines Explicitly close some files (from issue #10093) ........
* Merged revisions 85386-85387,85389 via svnmerge fromVictor Stinner2010-10-121-7/+18
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85386 | victor.stinner | 2010-10-13 00:23:23 +0200 (mer., 13 oct. 2010) | 3 lines Issue #6612: Fix site and sysconfig to catch os.getcwd() error, eg. if the current directory was deleted. ........ r85387 | victor.stinner | 2010-10-13 00:26:08 +0200 (mer., 13 oct. 2010) | 2 lines #6612: add the author of the patch (W. Trevor King) ........ r85389 | victor.stinner | 2010-10-13 00:42:37 +0200 (mer., 13 oct. 2010) | 2 lines NEWS: Move #6612 to Library section ........
* Merged revisions 85353 via svnmerge fromAntoine Pitrou2010-10-101-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85353 | antoine.pitrou | 2010-10-10 11:37:12 +0200 (dim., 10 oct. 2010) | 3 lines Issue #9437: Fix building C extensions with non-default LDFLAGS. ........
* Fix for issue #9164: with this patch sysconfig and distuls don't breakRonald Oussoren2010-07-111-2/+1
| | | | | when duplicate '-arch foo' flags end up in CFLAGS (which may happen when building a universal build using macports)
* #8759: Fixed user paths in sysconfig for posix and os2 schemesTarek Ziadé2010-05-191-8/+8
|
* Issue #8084: ensure that the --user directoryRonald Oussoren2010-05-081-1/+20
| | | | | conforms to platforms standars on OSX when using a python framework.
* Issue #7774: Set sys.executable to an empty string if argv[0] has beenVictor Stinner2010-03-111-1/+6
| | | | | | | | 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.
* Revert r78830: realpath() should really be applied to sys.executable.Florent Xicluna2010-03-111-3/+2
|
* Fix the test_subprocess failure when sys.executable is meaningless: '' or a ↵Florent Xicluna2010-03-111-2/+3
| | | | | | directory. It does not fix #7774.
* Issue #7880: Fix sysconfig when the python executable is a symbolic link.Florent Xicluna2010-03-101-6/+6
|
* sysconfig.get_scheme_names now returns a sorted tupleTarek Ziadé2010-02-021-1/+3
|
* module reorganization + missing doctestsTarek Ziadé2010-02-021-37/+43
|
* switched the call order so this call works without suffering from issue #7774Tarek Ziadé2010-01-251-1/+1
|
* taking sysconfig out of distutilsTarek Ziadé2010-01-231-0/+654