- 26 Aug, 2011 3 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
- 25 Aug, 2011 4 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
- 23 Aug, 2011 2 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
- First, support.fixup_build_ext (already used to set proper library_dirs value under Unix shared builds) gains the ability to correctly set the debug attribute under Windows debug builds. - Second, the filename for the extension module gets a _d suffix under debug builds. - Third, the test code properly puts our customized build_ext object into an internal dictionary to make sure that the install command will later use our object instead of re-creating one. That’s the downside of using low-level APIs in our test code: we have to manually push knobs and turn handles that would otherwise be handled behind the scenes. Thanks to Nadeem for the testing.
-
- 21 Aug, 2011 7 commits
-
-
Nadeem Vawda authored
-
Nadeem Vawda authored
Patch by Jeremy Kloth.
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
I need this to fix the failing test_install.
-
Éric Araujo authored
-
Éric Araujo authored
-
- 20 Aug, 2011 8 commits
-
-
Victor Stinner authored
* Use str.startswith(tuple): I didn't know this Python feature, Python rocks! * Replace sometimes sys.platform.startswith('linux') with sys.platform == 'linux' * sys.platform doesn't contain the major version on Cygwin on Mac OS X (it's just 'cygwin' and 'darwin')
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
I made a note a month ago that install --record wrote incorrect entries for extension modules (I think the problem was that the first character of the file was stripped), so I’m now adding a test to try to reproduce that in the current versions.
-
Éric Araujo authored
-
Éric Araujo authored
I need to copy this file in another test too, so I moved the support code to distutils.tests.support and improved it: - don’t skip when run from the Lib/distutils/tests directory - use proper skip machinery instead of custom print/return/test suite fiddling.
-
- 17 Aug, 2011 1 commit
-
-
Victor Stinner authored
Use startswith, instead of ==, when testing sys.platform to support new platforms like Linux 3 or OpenBSD 5.
-
- 10 Aug, 2011 1 commit
-
-
Éric Araujo authored
A reminder: distutils only gets bug fixes. Cosmetic changes, especially in tests, are not worth the time spent, and can even make future merges of bugfixes a bit less easy.
-
- 31 Jul, 2011 2 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
The changed behavior of sdist in 3.1 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 (76643c286b9f by Tarek and d54da9248ed9 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 the 2.7 version 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. 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.
-
- 28 Jul, 2011 2 commits
-
-
Senthil Kumaran authored
merge from 3.2 - Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller.
-
Senthil Kumaran authored
Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller.
-
- 09 Jul, 2011 2 commits
-
-
Georg Brandl authored
-
Georg Brandl authored
-
- 04 Jul, 2011 1 commit
-
-
Georg Brandl authored
-
- 03 Jul, 2011 1 commit
-
-
Georg Brandl authored
-
- 30 Jun, 2011 3 commits
-
-
Victor Stinner authored
We don't need to create a temporary buffered binary or text file object just to create an empty file. Replace also os.fdopen(handle).close() by os.close(handle).
-
Victor Stinner authored
to read the encoding cookie, instead of opening it in UTF-8.
-
Victor Stinner authored
encoding cookie, instead of opening it in UTF-8.
-
- 29 Jun, 2011 3 commits
-
-
Ned Deily authored
-
Ned Deily authored
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.
-
Ned Deily authored
test_build_ext.
-