- 18 Jan, 2012 2 commits
- 28 Dec, 2011 1 commit
-
-
Jason R. Coombs authored
-
- 26 Dec, 2011 1 commit
-
-
Jason R. Coombs authored
Issue #11638: Adding test to ensure .tar.gz files can be generated by sdist command with unicode metadata, based on David Barnett's patch. Issue #11638: Added tests to capture failures in make_tarball with various unicode strings. Following fix for Issue #13639, these tests now pass.
-
- 12 Nov, 2011 1 commit
-
-
Antoine Pitrou authored
"recursive-include" directive now recognizes both legal path separators.
-
- 17 Oct, 2011 2 commits
-
-
Mark Hammond authored
-
Mark Hammond authored
-
- 14 Oct, 2011 1 commit
-
-
Éric Araujo authored
Patch by Justin Love.
-
- 09 Oct, 2011 1 commit
-
-
Éric Araujo authored
The check command was fixed by Kirill Kuzminykh. The register command was using StringIO.getvalue, which uses “''.join” and thus coerces to str using the default encoding (ASCII), so I changed the code to use one extra intermediary list and correctly encode to UTF-8.
-
- 08 Oct, 2011 1 commit
-
-
Éric Araujo authored
Patch by Hallvard B Furuseth.
-
- 10 Sep, 2011 2 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
I have tests to add in this file and it’s always nice to start from a clean base. I’ve also changed a test that used to write an invalid config file ('[global]command_packages = etc.' on one line), but the test passes before and after this change, so either it magically works or the test is poorly written. Sigh.
-
- 09 Sep, 2011 1 commit
-
-
Jesus Cea authored
-
- 02 Sep, 2011 2 commits
-
-
Éric Araujo authored
sdist used to crash with a full traceback dump instead of printing a nice warning with the faulty line number.
-
Éric Araujo authored
-
- 29 Aug, 2011 1 commit
-
-
Éric Araujo authored
-
- 26 Aug, 2011 5 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
- 25 Aug, 2011 1 commit
-
-
Éric Araujo authored
I need to copy the xxmodule.c file in other tests, 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. I also took out the fixup_build_ext function, which is needed for tests to pass on Unix shared builds and Windows debug builds. Finally, I cleaned up a few things: - don’t remove directories in tearDown when the parent class’ tearDown has already registered the directories for removal - simplify restoration of sys.path - remove a few unused names found by pyflakes.
-
- 21 Aug, 2011 1 commit
-
-
Nadeem Vawda authored
Patch by Jeremy Kloth.
-
- 02 Aug, 2011 1 commit
-
-
Éric Araujo authored
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.
-
- 31 Jul, 2011 1 commit
-
-
Éric Araujo authored
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.
-
- 29 Jun, 2011 2 commits
-
-
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.
-
- 28 Jun, 2011 1 commit
-
-
Ned Deily authored
test_build_ext of test_distutils is no longer silently skipped when run outside of a build directory.
-
- 11 Jun, 2011 2 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 04 Jun, 2011 3 commits
-
-
Éric Araujo authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
- 29 May, 2011 1 commit
-
-
Benjamin Peterson authored
-
- 28 May, 2011 1 commit
-
-
Éric Araujo authored
The tests now pass all combinations of -O/-OO and -B. See also #7071 and #6292 for previous variations on the same theme.
-
- 25 May, 2011 1 commit
-
-
Éric Araujo authored
-
- 23 May, 2011 3 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
message: Cross-port changes for 2.6.7rc2 from the Subversion branch.
-
Barry Warsaw authored
message: Reconcile with the 2.6svn branch. The 2.6.7 release will be made from Subversion, but there were differences, so this brings them in sync. These changes should *not* propagate to any newer versions.
-
- 15 May, 2011 1 commit
-
-
Ronald Oussoren authored
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.
-