summaryrefslogtreecommitdiff
path: root/Lib/distutils/command
AgeCommit message (Collapse)AuthorLines
2013-11-04Backout 265d369ad3b9.Georg Brandl-2/+1
2013-11-02Issue #19286: [distutils] Only match files in build_py.find_data_files.Jason R. Coombs-1/+2
2013-03-21- Issue #16754: Fix the incorrect shared library extension on linux. Introducedoko@ubuntu.com-3/+3
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-11Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,Terry Jan Reedy-2/+2
as reported by Serhiy Storchaka and Matthew Barnett.
2012-12-08Fix setup.py register failure with invalid rst in description (#13614).Éric Araujo-0/+3
Original patch by Julien Courteau and Pierre Paul Lefebvre.
2012-06-29Issue #10571: Fix the "--sign" option of distutils' upload command.Antoine Pitrou-1/+1
Patch by Jakub Wilk.
2012-06-26Issue #14443: ensure that brp-python-bytecompile is invoked with the correctDavid Malcolm-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.
2012-05-28Issue #14443: Tell rpmbuild to use the correct version of PythonNick Coghlan-1/+2
2012-03-07Backout buggy patch committed for #13719Éric Araujo-1/+1
2012-03-05Make distutils’ upload command work with bdist_msi products (#13719).Éric Araujo-1/+1
Patch by Ralf Schmitt.
2012-02-15Fix parsing of build_ext --libraries option (#1326113)Éric Araujo-2/+1
2012-01-15Stop ignoring RPMs in distutils' upload command (#2945).Éric Araujo-0/+12
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 :)
2011-11-03More fixes for PEP 3147 compliance in distutils (#11254)Éric Araujo-5/+11
2011-09-05Issue #9561: distutils now reads and writes egg-info files using UTF-8Victor Stinner-3/+2
instead of the locale encoding.
2011-09-03Warn instead of crashing because of invalid path in MANIFEST.in (#8286).Éric Araujo-1/+4
sdist used to crash with a full traceback dump instead of printing a nice warning with the faulty line number.
2011-08-29Make bdist_* commands respect --skip-build passed to bdist (#10946)Éric Araujo-4/+13
2011-07-31Fix regression with distutils MANIFEST handing (#11104, #8688).Éric Araujo-19/+29
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.
2011-07-28Fix closes Issue11439 Remove the SVN keywords from the code as it is no ↵Senthil Kumaran-40/+0
longer applicable in hg. Patch Contributed by Neil Muller.
2011-05-11Close #10419, issue #6011: build_scripts command of distutils handles correctlyVictor Stinner-11/+34
non-ASCII path (path to the Python executable). Open and write the script in binary mode, but ensure that the shebang is decodable from UTF-8 and from the encoding of the script.
2011-04-20Merge 3.1Éric Araujo-10/+13
2011-04-17Fix resource warning found manuallyÉric Araujo-10/+13
2010-12-15Merged revisions 87280 via svnmerge fromÉric Araujo-1/+1
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-15Fix build_ext with VS 8.0. Patch by Hirokazu Yamamoto (#9558).Éric Araujo-1/+1
2010-11-25sys.abiflags is not defined on all platforms.Barry Warsaw-1/+6
2010-11-24Final patch for issue 9807.Barry Warsaw-2/+4
2010-11-06Remove traces of Mac OS 9 support, again (#9508).Éric Araujo-16/+0
This was done in r80805 (#7908) and erroneously brought back by the distutils revert. This commit removes more code than the original, which was uncomplete. There is no NEWS entry, like in r80805.
2010-11-06Merged revisions 86223-86224,86226,86234 via svnmerge fromÉric Araujo-17/+29
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-06Also close file descriptors from os.popen and subprocess.PopenÉric Araujo-15/+19
2010-11-05Always close files in distutils code and tests (#10252).Éric Araujo-2/+10
2010-10-16First (uncontroversial) part of issue 9807.Barry Warsaw-3/+3
* Expose the build flags to Python as sys.abiflags * Shared library libpythonX.Y<abiflags>.so * python-config --abiflags * Make two distutils tests that failed with --enable-shared (even before this patch) succeed. * Fix a few small style issues.
2010-10-06Merged revisions ↵Georg Brandl-2/+2
82805-82806,83523-83527,83536,83538,83542,83546-83548,83550-83555,83558,83560 via svnmerge from svn+ssh://svn.python.org/python/branches/py3k ........ r82805 | georg.brandl | 2010-07-11 11:42:10 +0200 (So, 11 Jul 2010) | 1 line #7935: cross-reference to ast.literal_eval() from eval() docs. ........ r82806 | georg.brandl | 2010-07-11 12:22:44 +0200 (So, 11 Jul 2010) | 1 line #9223: link to Command class reference, and move Command interface docs nearer to class docs. ........ r83523 | georg.brandl | 2010-08-02 14:06:18 +0200 (Mo, 02 Aug 2010) | 1 line #9209 and #7781: fix two crashes in pstats interactive browser. ........ r83524 | georg.brandl | 2010-08-02 14:20:23 +0200 (Mo, 02 Aug 2010) | 1 line #9428: fix running scripts from profile/cProfile with their own name and the right namespace. Same fix as for trace.py in #1690103. ........ r83525 | georg.brandl | 2010-08-02 14:36:24 +0200 (Mo, 02 Aug 2010) | 1 line Get rid of spurious "threading" entries in trace output. ........ r83526 | georg.brandl | 2010-08-02 14:40:22 +0200 (Mo, 02 Aug 2010) | 1 line Fix softspace relic. ........ r83527 | georg.brandl | 2010-08-02 14:48:46 +0200 (Mo, 02 Aug 2010) | 1 line #3821: beginnings of a trace.py unittest. ........ 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. ........ r83538 | georg.brandl | 2010-08-02 20:10:13 +0200 (Mo, 02 Aug 2010) | 1 line #6928: fix class docs w.r.t. new metaclasses. ........ r83542 | georg.brandl | 2010-08-02 20:56:54 +0200 (Mo, 02 Aug 2010) | 1 line Move test_SimpleHTTPServer into test_httpservers. ........ 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. ........ r83551 | georg.brandl | 2010-08-02 21:35:06 +0200 (Mo, 02 Aug 2010) | 1 line Remove XXX comment that was displayed. ........ r83552 | georg.brandl | 2010-08-02 21:36:36 +0200 (Mo, 02 Aug 2010) | 1 line #9438: clarify that constant names also cannot be assigned as attributes. ........ r83553 | georg.brandl | 2010-08-02 21:39:17 +0200 (Mo, 02 Aug 2010) | 1 line Remove redundant information. ........ 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. ........ r83560 | georg.brandl | 2010-08-02 22:16:18 +0200 (Mo, 02 Aug 2010) | 1 line #9087: update json docstrings -- unicode and long do not exist anymore. ........
2010-10-03Merged revisions 85197 via svnmerge fromTarek Ziadé-1/+1
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85197 | tarek.ziade | 2010-10-03 16:18:09 +0200 (Sun, 03 Oct 2010) | 1 line Fixed #8980: distutils.command.check was failing w/ docutils installed ........
2010-10-03Fixed #8980: distutils.command.check was failing w/ docutils installedTarek Ziadé-1/+1
2010-09-11Merged revisions 84711 via svnmerge fromÉric Araujo-1/+1
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-11Fix typo in option nameÉric Araujo-1/+1
2010-09-10Merged revisions 84680 via svnmerge fromAntoine Pitrou-0/+3
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-10Issue #941346: Improve the build process under AIX and allow Python toAntoine Pitrou-0/+3
be built as a shared library. Patch by Sébastien Sablé.
2010-09-08Merged revisions 84614 via svnmerge fromÉric Araujo-1/+1
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-08Follow-up to #9199: Fix str.join use, add newlines.Éric Araujo-1/+1
Thanks to Konrad Delong for writing a test for upload_docs --show-response in distutils2, letting me catch my mistake.
2010-09-07Merged revisions 84611 via svnmerge fromÉric Araujo-1/+2
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-07Fix incorrect use of Command.announce (#9199)Éric Araujo-1/+2
2010-09-07Merged revisions 84608 via svnmerge fromÉric Araujo-2/+2
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-07Fix eon-old bug in build_clib options (#1718574)Éric Araujo-2/+2
2010-08-30remove pointless coding cookiesFlorent Xicluna-1/+0
2010-08-14Merged revisions 83993 via svnmerge fromÉric Araujo-2/+15
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-14Use a marker in generated MANIFEST files, don't touch files without it. ↵Éric Araujo-2/+15
Fixes #8688.
2010-08-02#7973: Fix distutils options spelling.Georg Brandl-2/+2
2010-08-01Merged revisions 83371,83390 via svnmerge fromGeorg Brandl-2/+1
svn+ssh://svn.python.org/python/branches/py3k ........ r83371 | georg.brandl | 2010-07-31 23:54:24 +0200 (Sa, 31 Jul 2010) | 1 line #8292: Fix three instances of truth tests on return values of filter() (which is always true in Python 3). ........ r83390 | georg.brandl | 2010-08-01 10:07:49 +0200 (So, 01 Aug 2010) | 1 line #8230: make Lib/test/sortperf.py run on Python 3. ........
2010-07-31#8292: Fix three instances of truth tests on return values of filter() ↵Georg Brandl-2/+1
(which is always true in Python 3).
2010-07-22reverted distutils its 3.1 state. All new work is now happening in ↵Tarek Ziadé-255/+218
disutils2, and distutils is now feature-frozen.