Nadeem Vawda
367d4c8a80
Issue #12678 : Fix distutils sdist test on Windows.
...
Patch by Jeremy Kloth.
2011-08-21 22:40:04 +02:00
Éric Araujo
33af263d36
Fix incorrect mtime comparison in distutils ( #11933 ).
...
This is a regression introduced in 9211a5d7d0b4, when uses of ST_MTIME
constants were changed to uses of st_mtime attributes. As diagnosed in
the bug report, this change is not merely stylistic: st_mtime is a
float but ST_MTIME’s resolution is rounded to the seconds, so there was
a mismatch between the values seen by file_util and dep_util which
caused an sdist to be unnecessarily created a second time on an ext4
filesystem.
This patch has been tested by John S. Gruber, who reported the bug.
As this is a simple code revert, I think it’s okay to commit without a
unit test.
2011-08-02 03:16:12 +02:00
Éric Araujo
560bf855d3
Fix regression with distutils MANIFEST handing ( #11104 , #8688 ).
...
The changed behavior of sdist in 2.7 broke packaging for projects that
wanted to use a manually-maintained MANIFEST file (instead of having a
MANIFEST.in template and letting distutils generate the MANIFEST).
The fixes that were committed for #8688 (d29399100973 by Tarek and
f7639dcdffc3 by me) did not fix all issues exposed in the bug report,
and also added one problem: the MANIFEST file format gained comments,
but the read_manifest method was not updated to handle (i.e. ignore)
them. This changeset should fix everything; the tests have been
expanded and I successfully tested with Mercurial, which suffered from
this regression.
I have grouped the versionchanged directives for these bugs in one place
and added micro version numbers to help users know the quirks of the
exact version they’re using. I also removed a stanza in the docs that
was forgotten in Tarek’s first changeset.
Initial report, thorough diagnosis and patch by John Dennis, further
work on the patch by Stephen Thorne, and a few edits and additions by
me.
2011-07-31 02:04:00 +02:00
Ned Deily
041645a8cb
Issue #9516 : Change distutils to no longer globally attempt to check and
...
set the MACOSX_DEPLOYMENT_TARGET env variable for the interpreter process
on OS X. This could cause failures in non-distutils subprocesses and was
unreliable since tests or user programs could modify the interpreter
environment after distutils set it. Instead, have distutils set the
the deployment target only in the environment of each build subprocess.
Continue to use the previous algorithm for deriving the deployment target
value:
if MACOSX_DEPLOYMENT_TARGET is not set in the interpreter's env:
use the interpreter build configure MACOSX_DEPLOYMENT_TARGET
elif the MACOSX_DEPLOYMENT_TARGET env value >= configure value:
use the env MACOSX_DEPLOYMENT_TARGET
else: # env value less than interpreter build configure value
raise exception
This allows building extensions that can only run on newer versions of
the OS than the version python was built for, for example with a python
built for 10.3 or later and an extension that needs to be built for 10.5.
2011-06-28 19:40:39 -07:00
Ned Deily
053c6ad6b7
Issue #9516 : Correct and expand OS X deployment target tests in distutils
...
test_build_ext.
2011-06-28 19:39:10 -07:00
Ned Deily
63144c6444
Issue #12141 : Install a copy of template C module file so that
...
test_build_ext of test_distutils is no longer silently skipped when
run outside of a build directory.
2011-06-28 00:39:19 -07:00
Benjamin Peterson
a573e0df36
merge 2.7.2 release branch
2011-06-11 09:51:21 -05:00
Benjamin Peterson
9843ba5e54
bump to 2.7.2 final
2011-06-11 09:42:44 -05:00
Éric Araujo
865b573c04
Remove unnecessary executable bit on one distutils file
2011-06-04 20:45:33 +02:00
Benjamin Peterson
cd20705902
bump to 2.7.2rc1
2011-05-29 16:50:27 -05:00
Éric Araujo
be77831375
Fix test_distutils when sys.dont_write_bytecode is true ( #9831 ).
...
The tests now pass all combinations of -O/-OO and -B. See also #7071
and #6292 for previous variations on the same theme.
2011-05-28 23:21:19 +02:00
Éric Araujo
78d9133989
Branch merge
2011-05-25 18:06:35 +02:00
Ronald Oussoren
a70286b71d
Issue #9516 : avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set 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.
2011-05-15 16:44:27 +02:00
Éric Araujo
b76eb9743e
Make test_distutils pass without zlib ( fixes #9435 )
2011-05-08 16:27:13 +02:00
Éric Araujo
a27c8e3746
Branch merge
2011-05-01 02:09:37 +02:00
Éric Araujo
015014ff63
Fix file handle leak
2011-05-01 02:05:58 +02:00
Éric Araujo
e4f8d839a7
Fix improper tests in RegisterTestCase
2011-04-14 03:49:19 +02:00
Ezio Melotti
c2077b0d9b
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
2011-03-16 12:34:31 +02:00
Éric Araujo
54274ad96a
Merged revisions 86236,86240,86332,86340,87271,87273,87447 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
To comply with the 2.x doc style, the methods in trace.rst use brackets around
optional arguments. The rest is a mostly straight merge, modulo support changed
to test_support and use of the old super call style in test_tuple.
........
r86236 | eric.araujo | 2010-11-06 03:44:43 +0100 (sam., 06 nov. 2010) | 2 lines
Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)
........
r86240 | eric.araujo | 2010-11-06 05:11:59 +0100 (sam., 06 nov. 2010) | 2 lines
Prevent ResourceWarnings in test_gettext
........
r86332 | eric.araujo | 2010-11-08 19:15:17 +0100 (lun., 08 nov. 2010) | 4 lines
Add missing NEWS entry for a fix committed by Senthil.
All recent modifications to distutils should now be covered in NEWS.
........
r86340 | eric.araujo | 2010-11-08 22:48:23 +0100 (lun., 08 nov. 2010) | 2 lines
This was actually fixed for the previous alpha.
........
r87271 | eric.araujo | 2010-12-15 20:09:58 +0100 (mer., 15 déc. 2010) | 2 lines
Improve trace documentation (#9264 ). Patch by Eli Bendersky.
........
r87273 | eric.araujo | 2010-12-15 20:30:15 +0100 (mer., 15 déc. 2010) | 2 lines
Use nested method directives, rewrap long lines, fix whitespace.
........
r87447 | eric.araujo | 2010-12-23 20:13:05 +0100 (jeu., 23 déc. 2010) | 2 lines
Fix typo in superclass method name
........
2011-02-03 00:12:18 +00:00
Éric Araujo
e04c13cfc1
Merged revisions 87280 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87280 | eric.araujo | 2010-12-15 22:07:22 +0100 (mer., 15 déc. 2010) | 2 lines
Fix build_ext with VS 8.0. Patch by Hirokazu Yamamoto (#9558 ).
........
2010-12-15 21:15:25 +00:00
Éric Araujo
6e52cf32ad
Merged revisions 87277 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87277 | eric.araujo | 2010-12-15 21:26:30 +0100 (mer., 15 déc. 2010) | 2 lines
Fix wrong name in docstring and doc (#10693 ). Original patch by Eli Benderski.
........
2010-12-15 20:33:50 +00:00
Phillip J. Eby
5cf79f6637
Fix for issue10367, courtesy of Daniel Tavares.
2010-12-03 17:00:40 +00:00
Benjamin Peterson
3e0fa42d87
2.7.1 final version bump
2010-11-27 14:40:29 +00: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
4fadd53f51
Merged revisions 86601,86605 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
In 2.7, there was only one NameError.
........
r86601 | eric.araujo | 2010-11-20 20:35:27 +0100 (sam., 20 nov. 2010) | 2 lines
Fix two NameErrors in distutils (#10407 )
........
r86605 | eric.araujo | 2010-11-20 20:37:28 +0100 (sam., 20 nov. 2010) | 2 lines
Add entry for r86601
........
2010-11-20 20:02:41 +00:00
Benjamin Peterson
cc21417408
2.7.1rc1 bump
2010-11-13 17:33:04 +00:00
Éric Araujo
3ba70368f5
Merged revisions 86438 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86438 | eric.araujo | 2010-11-12 23:25:23 +0100 (ven., 12 nov. 2010) | 2 lines
And now for something completely different: Finish fixing #10252 again.
........
2010-11-12 22:27:28 +00:00
Éric Araujo
4ca58a9fd2
Merged revisions 86274,86276 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86274 | eric.araujo | 2010-11-06 16:57:52 +0100 (sam., 06 nov. 2010) | 2 lines
Correct the fix for #10252 : Popen objects have no close method.
........
r86276 | eric.araujo | 2010-11-06 19:03:52 +0100 (sam., 06 nov. 2010) | 2 lines
Fix #10252 again (hopefully definitely). Patch by Brian Curtin.
........
2010-11-12 20:31:17 +00:00
Éric Araujo
db553be7fb
Remove one trace of Mac OS 9 support ( #7908 follow-up)
...
This was overlooked in r80804. This change is not really a bug fix,
but the release manager agreed to it. There is no NEWS entry, like
in the original commit.
2010-11-06 14:16:30 +00:00
Éric Araujo
e9954b56f4
Merged revisions 86244 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86244 | eric.araujo | 2010-11-06 05:48:05 +0100 (sam., 06 nov. 2010) | 3 lines
Prevent race condition with mkdir in distutils. Patch by Arfrever on #9281 .
........
2010-11-06 04:53:42 +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
Barry Warsaw
54052c00a7
Only hack cmd.library_dirs when running under Py_ENABLE_SHARED. Tested both
...
with and without --enable-shared on Ubuntu 10.10. Hopefully this finally
solves bug 10126. Will check 3.1 and py3k next.
2010-10-22 15:31:44 +00:00
Barry Warsaw
f084376f23
Fix issue 10126 for Python 2.7 by using $RUNSHARED to find the
...
directory to the shared library. test_distutils now passes when
Python was built with --enable-shared.
2010-10-21 22:13:29 +00:00
Éric Araujo
e9df5d6866
Backport fix for #10126
2010-10-21 18:48:59 +00:00
Antoine Pitrou
58dab67f2d
Merged revisions 85353 via svnmerge from
...
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.
........
2010-10-10 09:54:59 +00:00
Senthil Kumaran
e092ef862e
Merged revisions 84889 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84889 | senthil.kumaran | 2010-09-19 08:39:54 +0530 (Sun, 19 Sep 2010) | 3 lines
Update the test_distutils mode test to test with umask value properly.
........
2010-09-19 03:12:28 +00:00
Senthil Kumaran
a171cf064a
Merged revisions 84871 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84871 | senthil.kumaran | 2010-09-18 08:25:03 +0530 (Sat, 18 Sep 2010) | 3 lines
Skip the distutils mode test on Windows OS.
........
2010-09-18 02:58:49 +00:00
Senthil Kumaran
9c379bbadd
Merged revisions 84861 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84861 | senthil.kumaran | 2010-09-17 22:05:37 +0530 (Fri, 17 Sep 2010) | 3 lines
Fix Issue2236: Distutils' mkpath implementation ignoring the "mode" parameter
........
2010-09-17 16:40:01 +00:00
Hirokazu Yamamoto
7968f26bcb
Merged revisions 84765 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84765 | hirokazu.yamamoto | 2010-09-13 16:18:30 +0900 | 2 lines
get_build_version() is needed even where sys.platform != "win32".
Try to fix buildbot error in other way.
........
2010-09-13 08:14:41 +00:00
Hirokazu Yamamoto
f994f04745
Merged revisions 84753,84760 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84753 | hirokazu.yamamoto | 2010-09-13 07:55:40 +0900 | 1 line
Issue #9313 : Skips test_remove_visual_c_ref on old MSVC.
........
r84760 | hirokazu.yamamoto | 2010-09-13 14:36:21 +0900 | 1 line
Issue #9313 : Use unittest.skipUnless to skip old MSVC.
........
2010-09-13 06:36:09 +00:00
Éric Araujo
4893dfb05d
Merged revisions 84711 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84711 | eric.araujo | 2010-09-11 17:28:56 +0200 (sam., 11 sept. 2010) | 2 lines
Fix typo in option name
........
2010-09-11 15:31:13 +00:00
Antoine Pitrou
aabdceba51
Merged revisions 84680 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84680 | antoine.pitrou | 2010-09-10 21:44:44 +0200 (ven., 10 sept. 2010) | 4 lines
Issue #941346 : Improve the build process under AIX and allow Python to
be built as a shared library. Patch by Sébastien Sablé.
........
2010-09-10 20:03:17 +00:00
Éric Araujo
7738e4b758
Merged revisions 84614 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84614 | eric.araujo | 2010-09-08 02:00:45 +0200 (mer., 08 sept. 2010) | 5 lines
Follow-up to #9199 : Fix str.join use, add newlines.
Thanks to Konrad Delong for writing a test for upload_docs
--show-response in distutils2, letting me catch my mistake.
........
2010-09-08 00:02:29 +00:00
Éric Araujo
5011c8d962
Merged revisions 84611 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84611 | eric.araujo | 2010-09-08 01:08:57 +0200 (mer., 08 sept. 2010) | 2 lines
Fix incorrect use of Command.announce (#9199 )
........
2010-09-07 23:12:59 +00:00
Éric Araujo
b55feda06c
Merged revisions 84608 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84608 | eric.araujo | 2010-09-08 00:11:52 +0200 (mer., 08 sept. 2010) | 2 lines
Fix eon-old bug in build_clib options (#1718574 )
........
2010-09-07 22:18:34 +00:00
Éric Araujo
0389ae60fa
Merged revisions 83993 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83993 | eric.araujo | 2010-08-14 04:30:34 +0200 (sam., 14 août 2010) | 2 lines
Use a marker in generated MANIFEST files, don't touch files without it. Fixes #8688 .
........
2010-08-14 03:07:46 +00:00
Georg Brandl
7d4bfb338d
Merged revisions 83536,83546-83548,83550,83554-83555,83558,83563,83565,83571,83574-83575 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83536 | georg.brandl | 2010-08-02 19:49:25 +0200 (Mo, 02 Aug 2010) | 1 line
#8578 : mention danger of not incref'ing weak referenced object.
........
r83546 | georg.brandl | 2010-08-02 21:16:34 +0200 (Mo, 02 Aug 2010) | 1 line
#7973 : Fix distutils options spelling.
........
r83547 | georg.brandl | 2010-08-02 21:19:26 +0200 (Mo, 02 Aug 2010) | 1 line
#7386 : add example that shows that trailing path separators are stripped.
........
r83548 | georg.brandl | 2010-08-02 21:23:34 +0200 (Mo, 02 Aug 2010) | 1 line
#8172 : how does one use a property?
........
r83550 | georg.brandl | 2010-08-02 21:32:43 +0200 (Mo, 02 Aug 2010) | 1 line
#9451 : strengthen warning about __*__ special name usage.
........
r83554 | georg.brandl | 2010-08-02 21:43:05 +0200 (Mo, 02 Aug 2010) | 1 line
#7280 : note about nasmw.exe.
........
r83555 | georg.brandl | 2010-08-02 21:44:48 +0200 (Mo, 02 Aug 2010) | 1 line
#8861 : remove unused variable.
........
r83558 | georg.brandl | 2010-08-02 22:05:19 +0200 (Mo, 02 Aug 2010) | 1 line
#8648 : document UTF-7 codec functions.
........
r83563 | georg.brandl | 2010-08-02 22:21:21 +0200 (Mo, 02 Aug 2010) | 1 line
#9037 : add example how to raise custom exceptions from C code.
........
r83565 | georg.brandl | 2010-08-02 22:27:20 +0200 (Mo, 02 Aug 2010) | 1 line
#9111 : document that do_help() looks at docstrings.
........
r83571 | georg.brandl | 2010-08-02 22:44:34 +0200 (Mo, 02 Aug 2010) | 1 line
Clarify that abs() is not a namespace.
........
r83574 | georg.brandl | 2010-08-02 22:47:56 +0200 (Mo, 02 Aug 2010) | 1 line
#6867 : epoll.register() returns None.
........
r83575 | georg.brandl | 2010-08-02 22:52:10 +0200 (Mo, 02 Aug 2010) | 1 line
#9238 : zipfile does handle archive comments.
........
2010-08-02 21:44:25 +00:00
Ezio Melotti
c425f8fcb4
Merged revisions 82839 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82839 | ezio.melotti | 2010-07-12 22:49:41 +0300 (Mon, 12 Jul 2010) | 1 line
#6026 : skip test_get_file_list when zlib is not available.
........
2010-07-12 19:52:15 +00:00
Ronald Oussoren
7595620105
Fix for issue #9164 : with this patch sysconfig and distuls don't break
...
when duplicate '-arch foo' flags end up in CFLAGS (which may happen when
building a universal build using macports)
2010-07-11 08:52:52 +00:00
Benjamin Peterson
e3c104554b
prepare for 2.7.1
2010-07-03 14:51:25 +00:00
Benjamin Peterson
c60082d283
update to 2.7 final
2010-07-03 13:56:13 +00:00
Ronald Oussoren
cd17213e8e
Two small fixes for the support for SDKs on MacOSX:
...
1) The code that checks if an path should be located in the SDK
explicitly excludes /usr/local. This fixes issue9046
2) The SDK variant for filtering "db_dirs_to_check" in setup.py
was not doing anything because of a missing assignment.
2010-06-27 12:36:16 +00:00
Benjamin Peterson
bfcedf4cb7
bump verson to 2.7rc2
2010-06-21 15:57:57 +00:00
Benjamin Peterson
afa1b30969
fix finding visual studio 2008 on 64 bit #8854
2010-06-21 15:27:46 +00:00
Benjamin Peterson
77d534e59d
bump version to 2.7 rc1
2010-06-06 00:22:09 +00:00
Ronald Oussoren
593e4ca7a5
Fix for issue #7724 : ensure that distutils and python's own setup.py
...
honor the MacOSX SDK when one is specified.
This is needed to be able to build using the 10.4u SDK while running
on OSX 10.6.
This is a fixed version of the patch in r80963, I've tested this patch
on OSX and Linux.
2010-06-03 09:47:21 +00:00
Tarek Ziadé
4fc2a008b8
upgraded distutils docs w.r.t. the manifest regeneration
2010-05-17 10:54:43 +00:00
Tarek Ziadé
422545f0e7
Fixed #8688 : Distutils now recalculates MANIFEST everytime.
2010-05-17 10:06:20 +00:00
Benjamin Peterson
c251607d59
bump version to 2.7 beta 2
2010-05-08 17:08:17 +00:00
Antoine Pitrou
dac6aeb43c
Revert r80963 - it broke compilation everywhere
2010-05-08 15:23:57 +00:00
Ronald Oussoren
d875d3c36e
Fix for issue #7724 : make it possible to build using
...
the OSX 10.4u SDK on MacOSX 10.6 by honoring the specified
SDK when looking for files.
2010-05-08 08:44:37 +00:00
Ronald Oussoren
9545a23c7f
In a number of places code still revers
...
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).
Fixes issue #7908 for the trunk.
2010-05-05 19:09:31 +00:00
Tarek Ziadé
a5cd18275e
Fixed #8577 . distutils.sysconfig.get_python_inc() now differenciates buildir and srcdir
2010-04-30 12:15:12 +00:00
Benjamin Peterson
fbac6c1590
bump version to 2.7b1
2010-04-10 16:22:05 +00:00
Tarek Ziadé
ef253ac84e
removed the local copy of xxmodule, and skip only test_build_ext when xxmodule is not found, not the whole unittest
2010-04-02 21:14:04 +00:00
Florent Xicluna
8d1da0f5c3
#7092 : Fix some -3 warnings, and fix Lib/platform.py when the path contains a double-quote.
2010-04-01 18:17:09 +00:00
Florent Xicluna
3f5d146323
No more deprecation warnings for distutils.sysconfig, following r78666.
...
But when the "dl" module is available, it gives a py3k deprecation warning.
2010-03-21 11:50:17 +00:00
Florent Xicluna
1f3b4e12e8
Fix some py3k warnings in the standard library.
2010-03-07 12:14:25 +00:00
Benjamin Peterson
8e7c1178a0
bump version to 2.7a4
2010-03-06 20:34:14 +00:00
Tarek Ziadé
c49b6efbca
search in the alternative location for VCExpress
2010-03-06 02:17:28 +00:00
Tarek Ziadé
5501e6a7da
fixed various failures and environment alterations in distutils.test_build_ext
2010-03-06 02:11:14 +00:00
Tarek Ziadé
895ee2419d
files used by win32 tests
2010-03-06 01:27:09 +00:00
Tarek Ziadé
7e48ff8e50
simplified the fallback case
2010-03-06 01:23:21 +00:00
Tarek Ziadé
fbf50b8c7c
provide a fallback for xxmodule.c in case the buildir is not present
2010-03-06 01:18:27 +00:00
Tarek Ziadé
b30868a391
copied back the build_ext tests from 2.6
2010-03-06 01:04:14 +00:00
Benjamin Peterson
b3be23ad27
remove the svn:executable property from files that don't have shebang lines
2010-03-05 03:20:06 +00:00
Tarek Ziadé
dd7bef9bf5
reverting partially distutils to its 2.6.x state so 2.7a4 looks more like the 2.7b1 in this. the whole revert will occur after a4 is tagged
2010-03-05 00:16:02 +00:00
Tarek Ziadé
b0aad6cd09
removed debugging code
2010-02-23 04:57:05 +00:00
R. David Murray
f28fd24c36
Issue 6292: for the moment at least, the test suite passes if run
...
with -OO. Tests requiring docstrings are skipped. Patch by
Brian Curtin, thanks to Matias Torchinsky for helping review and
improve the patch.
2010-02-23 00:24:49 +00:00
Georg Brandl
28aeb0d0ab
Add missing import when running these tests standalone.
2010-02-06 23:53:52 +00:00
Benjamin Peterson
a7be9d240a
bump version to 2.7a3
2010-02-06 16:37:32 +00:00
Tarek Ziadé
b8c7b017e2
leaving global attributes for backward compat
2010-02-03 15:38:12 +00:00
Tarek Ziadé
bece7f2d36
fixed a typo on distutils.sysconfig. thanks arfever
2010-02-02 22:55:00 +00:00
Tarek Ziadé
92e68af56a
added local get_platform/set_platform APIs in distutils.sysconfig
2010-01-26 22:46:15 +00:00
Tarek Ziadé
0276c7ad0b
reintroduced the names in Distutils for APIs that were relocated
2010-01-26 21:21:54 +00:00
Tarek Ziadé
b28e5d7e41
fixed bdist_msi imports and added a test module for distutils.command.bdist_msi
2010-01-26 17:20:37 +00:00
Tarek Ziadé
f14c7fc33d
Fixed #7748 : now upload and register commands don't need to force the encoding anymore : DistributionMetada returns utf8 strings
2010-01-24 00:33:32 +00:00
Tarek Ziadé
5633a8048f
taking sysconfig out of distutils
2010-01-23 09:23:15 +00:00
Tarek Ziadé
ae7731af45
module cleanup
2010-01-11 23:41:32 +00:00
Tarek Ziadé
dc0f487c3b
Fixed #5372 : .o files are now always rebuilt because file age test don't work in some case
2010-01-11 22:50:29 +00:00
Benjamin Peterson
aa7e51f006
bump version to 2.7a2
2010-01-09 16:34:06 +00:00
Tarek Ziadé
c25417f644
Fixed #7617 : all flavors of gcc should be recognized now
2010-01-08 23:42:23 +00:00
Ronald Oussoren
ca8e7ec216
Unittests and news items for the patch in r77026.
2009-12-24 14:50:35 +00:00
Ronald Oussoren
728cc6110f
On OSX the output of "uname -m" always reflects the 32-bit architecture
...
for the machine ("i386" or "ppc"), even if the executable is
64-bit.
This patchs ensures that the distutils platform architecture
represents the architecture for the executable when running a
64-bit only executable on OSX.
2009-12-24 13:06:39 +00:00
Tarek Ziadé
3efd767336
backported r76993 and r76994 so the trunk behaves the same way with MSVC Manifest files editing
2009-12-21 23:31:55 +00:00
Tarek Ziadé
2b66da7d15
massive import cleaning in Distutils
2009-12-21 01:22:46 +00:00
Tarek Ziadé
2421d56e02
Fixed #7552 : fixed distutils.command.upload failure on very long passwords
2009-12-20 23:23:34 +00:00
Tarek Ziadé
c0680e2d4b
cleaned up the module (PEP 8 + old fashion test removal)
2009-12-15 06:29:19 +00:00
Tarek Ziadé
6c4847fbee
using an existing file to avoid dealing with a sleep to test file ages
2009-12-10 19:29:53 +00:00
Tarek Ziadé
1bd9b5e925
added test coverage for distutils.dep_util, and cleaned up the module
2009-12-10 15:29:03 +00:00
Ronald Oussoren
9fa9a0d635
Fix an issue with the detection of a non-existing SDK
...
on OSX. Without this patch it wasn't possible after all
to compile extensions on OSX 10.6 with the binary
installer unless the user had installed the (non-default)
10.4u SDK.
2009-12-10 10:27:09 +00:00
Tarek Ziadé
4b7f9439c0
removed the usage of rfc822 in favor of email.message.Message
2009-12-08 09:39:51 +00:00
Tarek Ziadé
a939ecd95b
Issue #7457 : added a read_pkg_file method to distutils.dist.DistributionMetadata so we can read back PKG-INFO files
2009-12-08 08:56:49 +00:00
Tarek Ziadé
4f38317d5a
Fixed #1923 : make sure we don't strip meaningful whitespace in PKG-INFO Description field
2009-12-06 09:22:40 +00:00
Benjamin Peterson
d78cec5f39
bump version to 2.7a1
2009-12-05 17:47:56 +00:00
Martin v. Löwis
c218a2fac8
Issue #4120 : Drop reference to CRT from manifest when building
...
extensions with msvc9compiler.
2009-12-03 20:53:51 +00:00
Tarek Ziadé
a5076a2543
Fixed #7408 : dropped group ownership checking because it relies on os-specific rules
2009-11-29 22:20:30 +00:00
Tarek Ziadé
39de1fc5c8
dragfullwindows can have value 2
2009-11-19 05:33:16 +00:00
Tarek Ziadé
acccafcf70
#7293 : distutils.test_msvc9compiler now uses a key that exists on any fresh windows install
2009-11-18 08:46:56 +00:00
Tarek Ziadé
9c48da74bc
fixed stdout alteration in test_distutils
2009-11-01 22:33:45 +00:00
Tarek Ziadé
c9dbca8d63
removed spurious spaces
2009-10-28 06:45:18 +00:00
Tarek Ziadé
40b998b05d
Fixed #1180 : Option to ignore ~/.pydistutils.cfg in Distutils
2009-10-27 23:06:10 +00:00
Tarek Ziadé
1733c9362b
fixed warning and error message
2009-10-24 15:51:30 +00:00
Tarek Ziadé
468f700af7
fixed finally state in distutils.test_util
2009-10-24 15:19:03 +00:00
Tarek Ziadé
b9c1cfc428
Issue #7071 : byte-compilation in Distutils now looks at sys.dont_write_bytecode
2009-10-24 15:10:37 +00:00
Tarek Ziadé
672422a328
#7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd
2009-10-24 13:29:44 +00:00
Tarek Ziadé
2b06d42db5
Changed distutils tests to avoid environment alteration
2009-10-18 09:28:26 +00:00
Tarek Ziadé
19e6f0160d
this test requires zlib support
2009-10-16 23:04:16 +00:00
Benjamin Peterson
de0559998f
replace callable()
2009-10-09 22:05:45 +00:00
Andrew M. Kuchling
b6f0128c63
Use standard comma punctuation; reword some sentences in the docs
2009-10-05 22:32:48 +00:00
Tarek Ziadé
3b34dd871a
now uses the right exception type
2009-10-03 14:52:33 +00:00
Tarek Ziadé
f638486cf0
removing the last remaning apply() calls
2009-10-03 00:07:35 +00:00
Tarek Ziadé
1b48671ef1
#6516 added owner/group support for tarfiles in Distutils
2009-10-02 23:49:48 +00:00
Ronald Oussoren
68776dbd3c
Half of the fix for issue 6957: ensure that distutils
...
ignores the '-isysroot' option on OSX when the
corresponding SDK is not installed.
This ensures that the user can compile extensions
on OSX 10.6 using the Python.org installer and a
default installation of Xcode.
2009-09-22 19:27:44 +00:00
Tarek Ziadé
0cfef2c3a4
forgot to commit a file in previous commit (r74994, issue #6954 )
2009-09-21 13:49:57 +00:00
Tarek Ziadé
9977335984
#6954 : Fixed crash when using DISTUTILS_DEBUG flag in Distutils.
2009-09-21 13:41:08 +00:00
Tarek Ziadé
ccaf380fab
improving distutils coverage
2009-09-21 13:23:35 +00:00
Tarek Ziadé
6d2db3784a
improved distutils test coverage: now the DEBUG mode is covered too (will help fix the issue #6954 in py3k branch)
2009-09-21 12:19:07 +00:00
Ronald Oussoren
0180565054
Update distutils.util tests after my changes
...
to --with-universal-archs
2009-09-15 21:24:07 +00:00
Ronald Oussoren
5d90029041
Finish support for --with-universal-archs=intel
...
and --with-universal-archs=3-way (issue6245)
2009-09-15 19:13:15 +00:00
Ezio Melotti
1036a7f7e1
#6026 - fix tests that failed without zlib
2009-09-12 14:43:43 +00:00
Tarek Ziadé
bed26a3ce3
Issue #6163 : Fixed HP-UX runtime library dir options in distutils.unixcompiler
2009-09-09 08:14:20 +00:00
Tarek Ziadé
9132916efb
fixed typo
2009-08-18 08:21:49 +00:00
Tarek Ziadé
1c8c9d1264
added more test coverage for distutils.filelist to prevent regressions when fnmatch or re are changed
2009-08-18 08:16:33 +00:00
Tarek Ziadé
e2f35c3588
module cleanup
2009-08-17 21:48:22 +00:00
Tarek Ziadé
98026f1521
fixed how fnmatch.translate is used (since it has changed in r74475 for #6665 ). Now the code is not harcoding the usage of $ anymore
2009-08-17 21:28:34 +00:00
Tarek Ziadé
af2406f215
Issue #6545 : Removed assert statements in distutils.Extension, so the behavior is similar when used with -O
2009-07-22 08:55:19 +00:00
Tarek Ziadé
a99dedfce2
#6466 refactored distutils duplicate get_versions() functions (used to get gcc/ld/dllwrap versions)
2009-07-16 15:35:45 +00:00
Hirokazu Yamamoto
6633a6606b
Fixed distutils test.
2009-07-12 02:04:47 +00:00
Tarek Ziadé
51f32c00e8
reverted changes for #6459 (doesn't apply on 2.x)
2009-07-11 17:21:00 +00:00
Tarek Ziadé
23a3775cc8
fixed #6459 : distutils.command.build_ext.get_export_symbols now uses 'PyInit'
2009-07-11 10:55:27 +00:00
Tarek Ziadé
51c045d6b4
cleaned up distutils.build_ext module
2009-07-11 10:48:31 +00:00
Tarek Ziadé
1c6ebc22bc
cleaned up distutils.command.build
2009-07-10 10:00:21 +00:00
Tarek Ziadé
3f7cba1b65
Added test coverage for distutils.command.build
2009-07-10 09:57:15 +00:00
Tarek Ziadé
8c40001175
Fixed #6455 (the test shall use pyd files under win32, rather than so files)
2009-07-10 09:10:33 +00:00
Tarek Ziadé
00490f2754
PendingDeprecationWarning -> DeprecationWarning in build_ext
2009-07-09 07:42:42 +00:00
Tarek Ziadé
42b145d0e2
Sets the compiler attribute to keep the old behavior for third-party packages.
2009-07-08 22:40:51 +00:00
Tarek Ziadé
e670e5ad5b
Fixed #6377 : distutils compiler switch ignored (and added a deprecation warning if compiler is not used as supposed = a string option)
2009-07-06 12:50:46 +00:00
Tarek Ziadé
cd947e0c6a
using print statements when used for user interaction
2009-07-04 02:59:19 +00:00
Tarek Ziadé
63f1738d4b
Fixed #6413 : fixed log level in distutils.dist.announce
2009-07-04 02:02:41 +00:00