summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* change version to 2.7.4v2.7.4Benjamin Peterson2013-04-061-1/+1
|
* version to 2.7.4rc1v2.7.4rc1Benjamin Peterson2013-03-231-1/+1
|
* backout 66e30c4870bb for breaking OSX (#13150)Benjamin Peterson2013-03-221-4/+59
|
* - Issue #13150: sysconfig no longer parses the Makefile and config.h filesdoko@ubuntu.com2013-03-211-59/+4
| | | | | when imported, instead doing it at build time. This makes importing sysconfig faster and reduces Python startup time by 20%.
* #11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch ↵Ezio Melotti2013-03-161-2/+3
| | | | by Thomas Wouters.
* Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,Terry Jan Reedy2013-03-112-3/+3
| | | | as reported by Serhiy Storchaka and Matthew Barnett.
* Add alias to restore 2.7.2 compatibility for setup scripts (#13994).Éric Araujo2013-02-031-0/+2
| | | | | | | | | | The customize_compiler function moved many times during the 2.7 series; in 2.7.3, setup scripts importing this function from ccompiler were broken. This commit restores compatibility without reintroducing the issue that #13994 originally fixed (duplication of the function). A unit test makes little sense here, as distutils tests never do imports in functions, and the fix is very simple.
* - Issue #17086: Backport the patches from the 3.3 branch to cross-builddoko@python.org2013-01-312-1/+10
| | | | the package.
* Issue #13590: OS X Xcode 4 - improve support for universal extension modulesNed Deily2013-01-314-242/+60
| | | | | | | | | | | | | | | | 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 #17041: Fix testing when Python is configured with theSerhiy Storchaka2013-01-271-2/+3
| | | | --without-doc-strings option.
* Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| | | | Patch by Serhiy Storchaka.
* Use proper skip instead of reporting success in one distutils testÉric Araujo2012-12-091-7/+1
|
* Fix setup.py register failure with invalid rst in description (#13614).Éric Araujo2012-12-092-4/+24
| | | | Original patch by Julien Courteau and Pierre Paul Lefebvre.
* Remove code unneeded after f833e7ec4de1Éric Araujo2012-12-081-5/+0
|
* Create ~/.pypirc securely (#13512).Éric Araujo2012-07-031-1/+1
| | | | | | There was a window between the write and the chmod where the user’s password would be exposed, depending on default permissions. Philip Jenvey’s patch fixes it.
* Ignore .nfs* files in distutils (#7719).Éric Araujo2012-07-033-3/+26
| | | | | | | | These files are created by some NFS clients a file is edited and removed concurrently (see added link in doc for more info). If such a file is removed between distutils calls listdir and copy, it will get confused. Other special files are ignored in sdist (namely VCS directories), but this has to be filtered out earlier.
* merge 2.7.3 release branchBenjamin Peterson2012-04-091-1/+1
|\
| * bump to 2.7.3 finalv2.7.3Benjamin Peterson2012-04-091-1/+1
| |
| * Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).Éric Araujo2012-02-253-52/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These regex changes fix a number of issues for distutils on Windows: - #6884: impossible to include a file starting with 'build' - #9691 and #14004: sdist includes too many files - #13193: test_filelist failures This commit replaces the incorrect changes done in 557a973709de, c566a3447ba1 and 3925081a7ca0 to fix #13193; we were too eager to fix the test failures and I did not study the code enough before greenlighting patches. This time we have unit tests from the problems reported by users to be sure we have the right fix. Thanks to Nadeem Vawda for his help.
* | merge from 2.7 release branchBenjamin Peterson2012-03-151-1/+1
|\ \ | |/
| * bump to 2.7.3rc2v2.7.3rc2Benjamin Peterson2012-03-151-1/+1
| |
* | Backout buggy patch for #13719Éric Araujo2012-03-072-10/+1
| |
* | Fix NameErrorÉric Araujo2012-03-051-0/+1
| |
* | Make distutils’ upload command work with bdist_msi products (#13719).Éric Araujo2012-03-052-6/+14
| | | | | | | | Patch by Ralf Schmitt.
* | Synchronize some distutils tests with 3.2.Éric Araujo2012-02-263-31/+38
| | | | | | | | | | | | | | | | - Actually check the contents of the file created by bdist_dumb. - Don’t use “RECORD” as filename for non-PEP 376 record file - Don’t start method name with “_test”, it looks like a disabled test method instead of an helper method - Fix some idioms (assertIn, addCleanup)
* | Stop ignoring RPMs in distutils' upload command (#2945).Éric Araujo2012-02-262-0/+21
| | | | | | | | | | Bug reported by Hartmut Goebel and patch contributed by Carl Robben. Untested backport of the fix committed and tested for 3.2.
* | Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).Éric Araujo2012-02-253-52/+95
|/ | | | | | | | | | | | | | | These regex changes fix a number of issues for distutils on Windows: - #6884: impossible to include a file starting with 'build' - #9691 and #14004: sdist includes too many files - #13193: test_filelist failures This commit replaces the incorrect changes done in 557a973709de, c566a3447ba1 and 3925081a7ca0 to fix #13193; we were too eager to fix the test failures and I did not study the code enough before greenlighting patches. This time we have unit tests from the problems reported by users to be sure we have the right fix. Thanks to Nadeem Vawda for his help.
* bump to 2.7.3rc1v2.7.3rc1Benjamin Peterson2012-02-231-1/+1
|
* Fix test failure for shared builds caused by #1326113 fixÉric Araujo2012-02-151-1/+2
|
* Fix parsing of build_ext --libraries option (#1326113)Éric Araujo2012-02-152-8/+7
|
* Issue #13193: Fix distutils.filelist tests to always use / as path separator.Nadeem Vawda2012-02-131-13/+11
|
* Fix distutils.filelist.FileList under Windows (#13193).Éric Araujo2012-02-121-4/+2
| | | | | | | | The code used to call os.path.join to build a regex but without escaping the backslash, which lead to test failures on Windows. Antoine Pitrou fixed it in 557a973709de by enhancing the code to accept both / and \, with proper escaping, but in my opinion this goes against the distutils feature freeze, hence this change.
* Issue #13994: Earler partial revert of Distutils enhancements in 2.7Ned Deily2012-02-116-59/+17
| | | | | | | | has left two versions of customize_compiler, the original in distutils.sysconfig and another copy in distutils.ccompiler, with some parts of distutils calling one and others using the other. Complete the revert back to only having one in distutils.sysconfig as is the case in 3.x.
* Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, buildingNed Deily2012-02-101-1/+32
| | | | | | | | | | | | | | Distutils-based packages with C extension modules may fail because Apple has removed gcc-4.2, the version used to build python.org 64-bit/32-bit Pythons. If the user does not explicitly override the default C compiler by setting the CC environment variable, Distutils will now attempt to compile extension modules with clang if gcc-4.2 is required but not found. Also as a convenience, if the user does explicitly set CC, substitute its value as the default compiler in the Distutils LDSHARED configuration variable for OS X. (Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u SDK, neither of which are available in Xcode 4. This change does not attempt to override settings to support their use with Xcode 4.)
* Issue #13901: Prevent test_distutils failures on OS X with --enable-shared.Ned Deily2012-02-031-2/+8
|
* Emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't ↵Jesus Cea2012-01-181-2/+6
| | | | include bitness in the directory name
* Closes #13803: Under Solaris, distutils doesn't include bitness in the ↵Jesus Cea2012-01-181-1/+2
| | | | directory name
* Limit test scope to those platforms that can save the target filenames. ↵Jason R. Coombs2011-12-281-0/+17
| | | | Reference #11638.
* Issue #11638: Adding test to ensure .tar.gz files can be generated by sdist ↵Jason R. Coombs2011-12-262-2/+51
| | | | | | | 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.
* Issue #13193: Fix distutils.filelist.FileList under Windows. TheAntoine Pitrou2011-11-121-1/+4
| | | | "recursive-include" directive now recognizes both legal path separators.
* normalize whitespace in Lib/distutils/msvc9compiler.pyMark Hammond2011-10-171-2/+2
|
* Issue #7833: Ext. modules built using distutils on Windows no longer get a ↵Mark Hammond2011-10-172-22/+102
| | | | manifest
* Increase test coverage for distutils.filelist (#11751).Éric Araujo2011-10-141-10/+197
| | | | Patch by Justin Love.
* Fix distutils’ check and register Unicode handling (#13114).Éric Araujo2011-10-094-13/+52
| | | | | | | | | 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.
* Make C code in one distutils test comply with ISO C (#10359).Éric Araujo2011-10-081-2/+2
| | | | Patch by Hallvard B Furuseth.
* Fix determination of Metadata version (#8933). Patch by Filip Gruszczyński.Éric Araujo2011-09-102-1/+16
|
* Slight cleanup in distutils test_dist.Éric Araujo2011-09-101-54/+49
| | | | | | | | 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.
* Issue #12333: fix test_distutils failures under Solaris and derivatives. ↵Jesus Cea2011-09-091-0/+4
| | | | Patch by Antoine Pitrou
* Warn instead of crashing because of invalid path in MANIFEST.in (#8286).Éric Araujo2011-09-022-2/+31
| | | | | sdist used to crash with a full traceback dump instead of printing a nice warning with the faulty line number.
* Enable catching WARN-level logging messages in distutils' test_sdistÉric Araujo2011-09-021-5/+4
|