Commit graph

819 commits

Author SHA1 Message Date
Serhiy Storchaka
c5d5dfdb22
bpo-22831: Use "with" to avoid possible fd leaks in distutils. (GH-10921) 2018-12-20 19:00:14 +02:00
Paul Ganssle
4e80f5cbea bpo-35186: Remove "built with" comment in setup.py upload (GH-10414)
platform.dist() is deprecated and slated for removal in Python 3.8. The
upload command itself should also not be used to upload to PyPI, but
while it continues to exist it should not use deprecated functions.
2018-12-17 08:59:02 +01:00
Serhiy Storchaka
34fd4c2019
bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)
Two kind of mistakes:

1. Missed space. After concatenating there is no space between words.

2. Missed comma. Causes unintentional concatenating in a list of strings.
2018-11-05 16:20:25 +02:00
Victor Stinner
fa7dfae317 bpo-34605: Replace "pliant children" with "helpers" (GH-9195)
In distutils.command.install, replace "pliant children" (previously,
it was "pliant slaves") with "helpers".

<!-- issue-number: [bpo-34605](https://www.bugs.python.org/issue34605) -->
https://bugs.python.org/issue34605
<!-- /issue-number -->
2018-09-11 16:40:06 -07:00
Victor Stinner
7e610bcdf1
bpo-34605: childs => children (GH-9102) 2018-09-07 18:13:10 +02:00
Victor Stinner
5e922658fb
bpo-34605: Avoid master/slave terms (GH-9101)
* Replace "master process" with "parent process"
* Replace "master option mappings" with "main option mappings"
* Replace "master pattern object" with "main pattern object"
* ssl: replace "master" with "server"
* And some other similar changes
2018-09-07 17:30:33 +02:00
Éric Araujo
08a6926b25
Improve error message for "setup.py upload" without dist files (#21060) 2018-02-18 18:14:54 -05:00
Bo Bayles
2fc98ae115 bpo-32304: Fix distutils upload for sdists ending with \x0d (GH-5264)
Patch by Bo Bayles.
2018-01-25 19:02:03 -05:00
Steve Dower
2507e29a9e
bpo-32588: Move _findvs into its own module and add missing _queue module to installer (#5227) 2018-01-19 09:09:36 +11:00
Victor Stinner
9e7c136ad8
bpo-32302: Fix distutils bdist_wininst for CRT v142 (#4851)
CRT v142 is binary compatible with CRT v140.
2017-12-14 11:39:34 +01:00
Benjamin Peterson
4eaf7f9490 fixes bpo-31866: remove code pertaining to AtheOS support (#4115)
We stop support this OS in 2007 with commit
19fab761b7. Let's finish.
2017-10-25 23:55:14 -07:00
Zachary Ware
49ce74efe8 Remove all mention of Windows IA-64 support (GH-3389)
It was mostly removed long ago.
2017-09-06 15:45:25 -07:00
Steve Dower
5fcd5e64ee bpo-31340: Change to building with MSVC v141 (included with Visual Studio 2017) (#3311) 2017-09-06 10:01:38 -07:00
Ryan Gonzalez
f9f87f0934 bpo-11913: Add README.rst to the distutils standard READMEs list (#563) 2017-04-14 11:00:25 +02:00
Steve Dower
e6bb53bf61 Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe 2016-12-13 09:06:55 -08:00
Steve Dower
7262b42fd1 Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe 2016-12-13 09:06:42 -08:00
Steve Dower
4347881414 Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe 2016-12-13 09:06:24 -08:00
Jason R. Coombs
cf99a34867 Make cs_path_exists a protected, static method 2016-10-14 15:41:42 -04:00
Jason R. Coombs
22dd73a74b Add case-sensitive file comparison for detecting/adding standard default files. 2016-10-14 15:39:01 -04:00
Jason R. Coombs
00e3cea34f Extract methods from sdist.add_defaults, allowing subclasses to override or inject different behaviors. 2016-10-14 14:53:32 -04:00
Jason R. Coombs
10d5eef8e5 Get names for README files from class attribute, allowing subclass to override. 2016-10-14 14:44:11 -04:00
Jason R. Coombs
c581ce4c81 Replace trailing comments with block-level comments 2016-10-14 14:10:07 -04:00
Jason R. Coombs
7677ff209c Remove unused import and reorganize imports of modules. 2016-10-14 14:08:28 -04:00
Jason R. Coombs
c9bba2bcc0 Remove wildcard imports from distutils.command.sdist 2016-10-14 14:06:28 -04:00
Zachary Ware
3839d99b79 Issue #13756: Fix building extensions modules on Cygwin
Patch by Roumen Petrov, based on original patch by Jason Tishler.
2016-10-01 16:15:09 -05:00
Benjamin Peterson
095e32bfc5 merge 3.5 (#1703178) 2016-09-28 23:17:04 -07:00
Benjamin Peterson
4254e8c548 build_ext: correctly parse the link_objects user option (closes #1703178)
Patch by Valerie Lambert.
2016-09-28 23:13:58 -07:00
R David Murray
44b548dda8 #27364: fix "incorrect" uses of escape character in the stdlib.
And most of the tools.

Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
2016-09-08 13:59:53 -04:00
Jason R. Coombs
5c071c1ff4 Issue #27919: Deprecate extra_path option in distutils. 2016-09-01 13:55:33 -04:00
Vinay Sajip
dd917f84e3 Closes #27904: Improved logging statements to defer formatting until needed. 2016-08-31 08:22:29 +01:00
Jason R. Coombs
a47ca08a36 Issue #27819: Simply default to gztar for sdist formats by default on all platforms. 2016-08-20 17:31:07 -04:00
Berker Peksag
45ff4a5487 Issue #27349: Merge from 3.5 2016-06-18 21:43:16 +03:00
Berker Peksag
56fe4749fb Issue #27349: Fix typo in distutils upload command 2016-06-18 21:42:37 +03:00
Berker Peksag
419e8ede19 Issue #20900: Merge from 3.5 2016-06-10 23:02:04 +03:00
Berker Peksag
904a2ef2e2 Issue #20900: distutils register command now decodes HTTP responses correctly
Initial patch by ingrid.
2016-06-10 23:00:52 +03:00
doko@ubuntu.com
36987d7c8d - merge 3.5 2016-06-05 00:44:01 +02:00
doko@ubuntu.com
6ada01234d - Issue #26884: Fix linking extension modules for cross builds.
Patch by Xavier de Gaye.
2016-06-05 00:41:58 +02:00
Berker Peksag
fddf12198f Issue #21776: Merge from 3.5 2016-06-02 13:47:23 -07:00
Berker Peksag
6a8e626a60 Issue #21776: distutils.upload now correctly handles HTTPError
Initial patch by Claudiu Popa.
2016-06-02 13:45:53 -07:00
Serhiy Storchaka
ccd047ea4b Removed unused imports. 2016-04-25 00:12:32 +03:00
Serhiy Storchaka
885bdc4946 Issue #25985: sys.version_info is now used instead of sys.version
to format short Python version.
2016-02-11 13:10:36 +02:00
Steve Dower
332334f1ab Issue #26071: bdist_wininst created binaries fail to start and find 32bit Python 2016-01-16 13:54:53 -08:00
Steve Dower
cedef652fa Rebuild wininst-14.0[-amd64].exe with updated tools. 2015-08-05 11:48:14 -07:00
Steve Dower
c70908558d Issue #23970: Fixes bdist_wininst not working on non-Windows platform. 2015-05-23 12:15:57 -07:00
Steve Dower
fd3664be00 Issue #23970: Adds distutils._msvccompiler for new Visual Studio versions. 2015-05-23 09:02:50 -07:00
Serhiy Storchaka
b9cec6a30f Issue #16314: Added support for the LZMA compression in distutils. 2015-05-16 22:13:27 +03:00
Brett Cannon
f299abdafa Issue #23731: Implement PEP 488.
The concept of .pyo files no longer exists. Now .pyc files have an
optional `opt-` tag which specifies if any extra optimizations beyond
the peepholer were applied.
2015-04-13 14:21:02 -04:00
Steve Dower
17be514d0a Closes #23437: Make user scripts directory versioned on Windows (patch by pmoore) 2015-02-14 09:50:59 -08:00
Benjamin Peterson
71f1c5c496 merge 3.4 (#23063) 2015-01-15 00:00:16 -05:00
Benjamin Peterson
562b7cbff9 fix parsing reST with code or code-block directives (closes #23063)
Patch by Marc Abramowitz.
2015-01-14 23:56:35 -05:00