summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* Issue #10571: Fix the "--sign" option of distutils' upload command.Antoine Pitrou2012-06-281-1/+1
| | | | Patch by Jakub Wilk.
* Issue #14443: ensure that brp-python-bytecompile is invoked with the correctDavid Malcolm2012-06-261-1/+16
| | | | | | | | | | | | | | | | | | | python executable The __os_install_macro defines some post-processing activities during an rpm build; one of the scripts it calls is brp-python-bytecompile, which can take an argument: the python executable with which to byte-compile .py files in the package payload. In some older versions of rpm (e.g. in RHEL 6), this invocation doesn't pass in an argument, and brp-python-bytecompile defaults to using /usr/bin/python, which can lead to the .py files being byte-compiled for the wrong version of python. This has been fixed in later versions of rpm by passing in %{__python} as an argument to brp-python-bytecompile. Workaround this by detecting if __os_install_post has a 0-argument invocation of brp-python-bytecompile, and if so generating an equivalent macro that has the argument, and explicitly provide the new definition within the specfile.
* Issue #14443: Tell rpmbuild to use the correct version of PythonNick Coghlan2012-05-281-1/+2
|
* Merge 3.2.3 release clone.Georg Brandl2012-04-111-1/+1
|\
| * Bump to 3.2.3 final.Georg Brandl2012-04-101-1/+1
| |
* | Merge 3.2.3rc2 from release clone.Georg Brandl2012-03-181-1/+1
|\ \ | |/
| * Bump to 3.2.3rc2.v3.2.3rc2Georg Brandl2012-03-181-1/+1
| |
| * Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).Éric Araujo2012-02-253-48/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 0a94e2f807c7 and 90b30d62caf2 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.
* | Backout buggy patch committed for #13719Éric Araujo2012-03-072-10/+1
| |
* | Fix NameError from #13719 fixÉ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.
* | Set archive format explicitly in one distutils testÉric Araujo2012-02-261-1/+2
| |
* | Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).Éric Araujo2012-02-253-48/+131
|/ | | | | | | | | | | | | | | 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 0a94e2f807c7 and 90b30d62caf2 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 version to 3.2.3rc1.Georg Brandl2012-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
|
* 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 0a94e2f807c7 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 #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.)
* Branch mergeÉric Araujo2012-02-052-0/+21
|\
| * Stop ignoring RPMs in distutils' upload command (#2945).Éric Araujo2012-01-152-0/+21
| | | | | | | | | | | | | | Bug reported by Hartmut Goebel and patch contributed by Carl Robben. Carl tested the fix and we have a buildbot with rpm installed, so I’m committing even though I could not run this test (but I do understand the changed code :)
* | Issue #13901: Prevent test_distutils failures on OS X with --enable-shared.Ned Deily2012-02-031-2/+8
| |
* | And yet another emergency fix for #13803 bootstrap issue: Under Solaris, ↵Jesus Cea2012-01-181-1/+1
| | | | | | | | distutils doesn't include bitness in the directory name
* | Emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't ↵Jesus Cea2012-01-181-2/+5
| | | | | | | | include bitness in the directory name
* | Closes #13803: Under Solaris, distutils doesn't include bitness in the ↵Jesus Cea2012-01-181-0/+2
|/ | | | directory name
* Issue #13193: fix distutils.filelist.FileList under WindowsAntoine Pitrou2011-11-121-1/+4
|
* More fixes for PEP 3147 compliance in distutils (#11254)Éric Araujo2011-11-035-60/+95
|
* Cleanups in distutils tests.Éric Araujo2011-11-023-25/+32
| | | | | | | | - 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 smells like a disabled test method instead of an helper method - Fix some idioms (assertIn, addCleanup)
* Closes #13258: Use callable() built-in in the standard library.Florent Xicluna2011-10-281-1/+1
|
* normalize whitespace in Lib/distutils/msvc9compiler.pyMark Hammond2011-10-171-1/+1
|
* Issue #7833: Ext. modules built using distutils on Windows no longer get a ↵Mark Hammond2011-10-172-23/+102
| | | | manifest
* Increase test coverage for distutils.filelist (#11751).Éric Araujo2011-10-111-7/+194
| | | | Patch by Justin Love.
* Add tests for Unicode handling in distutils’ check and register (#13114)Éric Araujo2011-10-092-3/+30
|
* Fix docstring of distutils.util.byte_compile (followup for #11254)Éric Araujo2011-10-081-3/+3
|
* Fix distutils.sysconfig.get_makefile_filename when prefix != exec-prefixÉric Araujo2011-10-071-1/+1
|
* Fix distutils byte-compilation to comply with PEP 3147 (#11254).Éric Araujo2011-10-073-9/+22
| | | | Patch by Jeff Ramnani. Tested with -B, -O and -OO.
* Make C code in one distutils test comply with ISO C (#10359).Éric Araujo2011-10-071-2/+2
| | | | Patch by Hallvard B Furuseth.
* Fix determination of Metadata version (#8933). Patch by Filip Gruszczyński.Éric Araujo2011-09-092-1/+16
|
* Slight cleanup in distutils test_dist.Éric Araujo2011-09-091-51/+47
| | | | | I have tests to add in this file and it’s always nice to start from a clean base.
* Issue #9561: distutils now reads and writes egg-info files using UTF-8Victor Stinner2011-09-052-7/+4
| | | | instead of the locale encoding.
* Branch mergeÉric Araujo2011-09-052-7/+35
|\
| * 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
| |
* | Merge with release clone.Georg Brandl2011-09-041-1/+1
|\ \ | |/ |/|
| * Issue #12333: fix test_distutils failures under Solaris and derivativesv3.2.2Antoine Pitrou2011-08-251-0/+4
| |
| * Bump to 3.2.2.Georg Brandl2011-09-031-1/+1
| |
| * Make bdist_* commands respect --skip-build passed to bdist (#10946)Éric Araujo2011-08-294-25/+40
| |
| * Fix distutils tests on Windows (#12678).Éric Araujo2011-08-233-23/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
| * Issue #12678: Fix distutils sdist test on Windows.Nadeem Vawda2011-08-211-0/+1
| | | | | | | | Patch by Jeremy Kloth.
| * Fix distutils test_install for shared CPython buildsÉric Araujo2011-08-211-0/+1
| |
| * Add a test for extension modules in the distutils record file.Éric Araujo2011-08-201-0/+33
| | | | | | | | | | | | | | 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.