summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
Commit message (Collapse)AuthorAgeFilesLines
* Issue #17177: Stop using imp in distutilsBrett Cannon2013-06-152-8/+8
|
* - Issue #16754: Fix the incorrect shared library extension on linux. Introducedoko@ubuntu.com2013-03-211-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.
| * - Issue #16754: Fix the incorrect shared library extension on linux. Introducedoko@ubuntu.com2013-03-211-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.
| | * - Issue #16754: Fix the incorrect shared library extension on linux. Introducedoko@ubuntu.com2013-03-211-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.
* | | Merge 3.3, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-111-2/+2
|\ \ \ | |/ / | | | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
| * | Merge 3.2, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-111-2/+2
| |\ \ | | |/ | | | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
| | * Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,Terry Jan Reedy2013-03-111-2/+2
| | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-1/+1
| | |
* | | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-1/+1
| | |
* | | Merge fixes for #13614, #13512 and #7719 from 3.3Éric Araujo2012-12-091-0/+3
|\ \ \ | |/ /
| * | Merge fixes for #13614, #13512 and #7719 from 3.2Éric Araujo2012-12-091-0/+3
| |\ \ | | |/
| | * Fix setup.py register failure with invalid rst in description (#13614).Éric Araujo2012-12-091-0/+3
| | | | | | | | | | | | Original patch by Julien Courteau and Pierre Paul Lefebvre.
* | | Closes #16116: Merged fix from 3.3.Vinay Sajip2012-10-231-0/+7
|\ \ \ | |/ /
| * | Issue #16116: Now uses corrected include and library paths when building C ↵Vinay Sajip2012-10-231-0/+7
| | | | | | | | | | | | extensions in a venv.
* | | Closes #16135: Removal of OS/2 support (distutils)Jesus Cea2012-10-104-49/+3
|/ /
* | Closes #15367: Corrected computation of include locations for source builds ↵Vinay Sajip2012-07-161-1/+5
| | | | | | | | on Windows. Thanks to Richard Oudkerk for the bug report and patch.
* | Issue #10571: Fix the "--sign" option of distutils' upload command.Antoine Pitrou2012-06-281-1/+1
|\ \ | |/ | | | | Patch by Jakub Wilk.
| * 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: ensure that brp-python-bytecompile is invoked with the correctDavid Malcolm2012-06-251-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.
* | Merge from 3.2Nick Coghlan2012-05-281-1/+2
|\ \ | |/
| * Issue #14443: Tell rpmbuild to use the correct version of PythonNick Coghlan2012-05-281-1/+2
| |
* | Fix #13210. Port the Windows build from VS2008 to VS2010.Brian Curtin2012-05-133-1/+1
| |
* | Merge 3.2Éric Araujo2012-03-071-1/+1
|\ \ | |/
| * Backout buggy patch committed for #13719Éric Araujo2012-03-071-1/+1
| |
* | Merge 3.2Éric Araujo2012-03-051-1/+1
|\ \ | |/
| * Make distutils’ upload command work with bdist_msi products (#13719).Éric Araujo2012-03-051-1/+1
| | | | | | | | Patch by Ralf Schmitt.
* | Merge fixes for #1326113 and #12297 from 3.2Éric Araujo2012-02-151-2/+1
|\ \ | |/
| * Fix parsing of build_ext --libraries option (#1326113)Éric Araujo2012-02-151-2/+1
| |
* | Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715)Éric Araujo2012-02-051-0/+12
|\ \ | |/
| * Stop ignoring RPMs in distutils' upload command (#2945).Éric Araujo2012-01-151-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 :)
* | Merge follow-up for #11254 and other changes from 3.2Éric Araujo2011-11-032-5/+11
|\ \ | |/
| * More fixes for PEP 3147 compliance in distutils (#11254)Éric Araujo2011-11-032-5/+11
| |
* | Merge 3.2: Issue #9561: distutils now reads and writes egg-info files using ↵Victor Stinner2011-09-051-3/+2
|\ \ | |/ | | | | | | | | UTF-8 instead of the locale encoding.
| * Issue #9561: distutils now reads and writes egg-info files using UTF-8Victor Stinner2011-09-051-3/+2
| | | | | | | | instead of the locale encoding.
* | Merge fix for #8286 from 3.2Éric Araujo2011-09-021-1/+4
|\ \ | |/
| * Warn instead of crashing because of invalid path in MANIFEST.in (#8286).Éric Araujo2011-09-021-1/+4
| | | | | | | | | | sdist used to crash with a full traceback dump instead of printing a nice warning with the faulty line number.
* | Merge fix for #10946 from 3.2Éric Araujo2011-08-293-4/+13
|\ \ | |/
| * Make bdist_* commands respect --skip-build passed to bdist (#10946)Éric Araujo2011-08-293-4/+13
| |
* | Issue #12326: refactor usage of sys.platformVictor Stinner2011-08-201-2/+1
| | | | | | | | | | | | | | | | * 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')
* | Merge fixes for #9860, #11104/#8688 and #12331 from 3.2Éric Araujo2011-07-311-19/+29
|\ \ | |/
| * Fix regression with distutils MANIFEST handing (#11104, #8688).Éric Araujo2011-07-311-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.
* | merge from 3.2 - Fix closes Issue11439 Remove the SVN keywords from the code ↵Senthil Kumaran2011-07-2820-40/+0
|\ \ | |/ | | | | as it is no longer applicable in hg. Patch Contributed by Neil Muller.
| * Fix closes Issue11439 Remove the SVN keywords from the code as it is no ↵Senthil Kumaran2011-07-2820-40/+0
| | | | | | | | longer applicable in hg. Patch Contributed by Neil Muller.
| * Close #10419, issue #6011: build_scripts command of distutils handles correctlyVictor Stinner2011-05-101-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.
* | Issue #10419, issue #6011: port 6ad356525381 fix from distutils to packagingVictor Stinner2011-05-191-4/+3
| | | | | | | | | | | | build_scripts command of packaging now handles correctly 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.
* | Close #10419, issue #6011: build_scripts command of distutils handles correctlyVictor Stinner2011-05-101-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.
* | Merge 3.2Éric Araujo2011-04-201-11/+14
|\ \ | |/
| * Merge 3.1Éric Araujo2011-04-201-11/+14
| |\
| | * Fix resource warning found manuallyÉric Araujo2011-04-171-11/+14
| | |