Ned Deily
9be578990e
Issue #21923 : Prevent AttributeError in distutils.sysconfig.customize_compiler
...
due to possible uninitialized _config_vars. Original patch by Alex Gaynor.
2014-07-06 16:11:44 -07:00
Serhiy Storchaka
57bc6da7c4
Issue #19492 : Silently skipped distutils tests now reported as skipped.
2013-12-18 16:45:37 +02:00
Ned Deily
18fae3f954
Issue #13590 : OS X Xcode 4 - improve support for universal extension modules
...
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.
2013-01-31 01:24:55 -08:00
Ezio Melotti
2623a37852
Merged revisions 86596 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424 : Replace deprecated assert* methods in the Python test suite.
........
2010-11-21 13:34:58 +00:00
Éric Araujo
d1feff70a3
Merged revisions 86223-86224,86226,86234 via svnmerge from
...
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
........
2010-11-06 04:06:18 +00:00
Georg Brandl
28aeb0d0ab
Add missing import when running these tests standalone.
2010-02-06 23:53:52 +00:00
Tarek Ziadé
5633a8048f
taking sysconfig out of distutils
2010-01-23 09:23:15 +00:00
Tarek Ziadé
2b06d42db5
Changed distutils tests to avoid environment alteration
2009-10-18 09:28:26 +00:00
Benjamin Peterson
5c8da86f3a
convert usage of fail* to assert*
2009-06-30 22:57:08 +00:00
Tarek Ziadé
25d2bae1c9
Fixed #5201 : now distutils.sysconfig.parse_makefile() understands '53264' in Makefiles
2009-06-11 08:12:20 +00:00
Tarek Ziadé
d35f2a33d5
refactored test_sysconfig so it uses test.test_support.EnvironmentVarGuard
2009-05-10 11:59:30 +00:00
Tarek Ziadé
6f9977852f
fixed AR/ARFLAGS values in test_sysconfig
2009-05-07 23:01:56 +00:00
Tarek Ziadé
99f660af3f
Fixed #5941 : added ARFLAGS for the archiver command.
2009-05-07 21:20:34 +00:00
Tarek Ziadé
74fbf60e8c
Fixed #3386 : the optional prefix argument was ignored under OS2 and NT in distutils.sysconfig.get_python_lib
2009-02-10 12:31:09 +00:00
Tarek Ziadé
0d6705b234
Fixed #5167 : test_customize_compiler does not apply under non unix compilers
2009-02-06 13:27:38 +00:00
Tarek Ziadé
05adf073cc
fixed #1520877 : now distutils reads Read from the environment/Makefile
2009-02-06 01:15:51 +00:00
Neil Schemenauer
e844be6d9a
Since sysconfig.get_python_inc() now works when building in a
...
directory other than the source directory, simplify the test code in
test_sysconfig.py.
2009-02-05 16:19:05 +00:00
Thomas Wouters
2fab8f1abb
Fix test_distutils to not fail when running 'make test' from a Python build
...
directory that is not the source directory (ie, one created using
'/path/to/source/configure'.) Leaves this test very slightly degraded in
that particular case, compared to the build-in-sourcedir case, but that case
isn't a particularly strong test either: neither test the actual path that
will be used after installing. There isn't a particularly good way to test
this, and a poor test beats a failing test.
2008-04-05 23:39:15 +00:00
Christian Heimes
c5f05e45cf
Patch #2167 from calvin: Remove unused imports
2008-02-23 17:40:11 +00:00
Christian Heimes
c67a15d865
Fixed bug #1628
...
The detection now works on Unix with Makefile, Makefile with VPATH and on Windows.
2007-12-14 23:42:36 +00:00
Christian Heimes
0a5e54e732
Disabled one test that is failing on Unix
2007-12-06 13:55:01 +00:00
Christian Heimes
d3fc07a4a0
Fixed get_config_h_filename for Windows. Without the patch it can't find the pyconfig.h file inside a build tree.
...
Added several small unit tests for sysconfig.
2007-12-06 13:15:13 +00:00