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
Julien Malard
0afada163c
bpo-34421 avoid unicode error in distutils logging (GH-8799)
...
This caused installation errors in some cases on Windows.
Patch by Julien Malard.
2018-09-08 16:31:26 -04: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
Victor Stinner
39487196c8
bpo-34530: Fix distutils find_executable() (GH-9049)
...
distutils.spawn.find_executable() now falls back on os.defpath if the
PATH environment variable is not set.
2018-09-04 11:01:09 +02:00
Steve Dower
5473f061f5
bpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash. (GH-8464)
2018-07-26 04:23:10 -07:00
Antoine Pitrou
961d54c5c1
bpo-32430: Rename Modules/Setup.dist to Modules/Setup (GH-8229)
...
bpo-32430: Rename Modules/Setup.dist to Modules/Setup
Remove the necessity to copy the former manually to the latter when updating the local source tree.
2018-07-16 19:03:03 +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
Neil Schemenauer
8837dd092f
bpo-19610: Warn if distutils is provided something other than a list to some fields ( #4685 )
...
* Rather than raise TypeError, warn and call list() on the value.
* Fix tests, revise NEWS and whatsnew text.
* Revise documentation, a string is okay as well.
* Ensure 'requires' and 'obsoletes' are real lists.
* Test that requires and obsoletes are turned to lists.
2017-12-04 18:58:12 -08:00
Victor Stinner
71bd588646
bpo-32155: Revert distutils.config change ( #4618 )
...
Revert distutils changes of the commit
696b501cd1
and remove the realm
variable.
2017-11-28 23:19:26 +01:00
Victor Stinner
696b501cd1
bpo-32155: Bugfixes found by flake8 F841 warnings ( #4608 )
...
* distutils.config: Use the PyPIRCCommand.realm attribute if set
* turtledemo: wait until macOS osascript command completes to not
create a zombie process
* Tools/scripts/treesync.py: declare 'default_answer' and
'create_files' as globals to modify them with the command line
arguments. Previously, -y, -n, -f and -a options had no effect.
flake8 warning: "F841 local variable 'p' is assigned to but never
used".
2017-11-28 15:30:32 +01:00
Berker Peksag
dcaed6b2d9
bpo-19610: setup() now raises TypeError for invalid types (GH-4519)
...
The Distribution class now explicitly raises an
exception when 'classifiers', 'keywords' and
'platforms' fields are not specified as a list.
2017-11-23 21:34:20 +03:00
xdegaye
d34d8fc24f
bpo-29185: Fix `test_distutils` failures on Android (GH-4438)
...
* Run gzip with separate command line options (Android understands '-f9' as the name of a file).
* Creation of a hard link is controled by SELinux on Android.
2017-11-18 18:17:16 +01:00
Victor Stinner
8c663fd60e
Replace KB unit with KiB ( #4293 )
...
kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte")
means 1024 bytes. KB was misused: replace kB or KB with KiB when
appropriate.
Same change for MB and GB which become MiB and GiB.
Change the output of Tools/iobench/iobench.py.
Round also the size of the documentation from 5.5 MB to 5 MiB.
2017-11-08 14:44:44 -08: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
Benjamin Peterson
288d1daada
remove support for BSD/OS (closes bpo-31624) ( #3812 )
2017-09-28 22:44:27 -07:00
Stefan Grönke
f1502d097c
bpo-31569: correct PCBuild/ case to PCbuild/ in build scripts and docs (GH-3711)
2017-09-25 17:58:10 +01:00
Steve Dower
05f01d8525
bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler ( #1632 )
2017-09-07 11:49:23 -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
Benjamin Peterson
069306312a
remove IRIX support (closes bpo-31341) ( #3310 )
...
See PEP 11.
2017-09-04 16:36:05 -07:00
Jon Dufresne
3972628de3
bpo-30296 Remove unnecessary tuples, lists, sets, and dicts ( #1489 )
...
* Replaced list(<generator expression>) with list comprehension
* Replaced dict(<generator expression>) with dict comprehension
* Replaced set(<list literal>) with set literal
* Replaced builtin func(<list comprehension>) with func(<generator
expression>) when supported (e.g. any(), all(), tuple(), min(), &
max())
2017-05-18 07:35:54 -07:00
Jeremy Kloth
dbdea629e2
bpo-30273: update distutils.sysconfig for venv's created from Python ( #1515 )
...
compiled out-of-tree (builddir != srcdir). (see also bpo-15366)
2017-05-09 17:24:13 +02:00
Victor Stinner
b109a1d336
bpo-30273: Update sysconfig ( #1464 )
...
The AST_H_DIR variable was removed from Makefile.pre.in by the commit
a5c62a8e9f
(bpo-23404).
AST_H_DIR was hardcoded to "Include", so replace the removed variable
by its content.
Remove also ASDLGEN variable from sysconfig example since this
variable was also removed.
2017-05-04 23:29:09 +02:00
Victor Stinner
92fd6c9ef5
bpo-30132: distutils BuildExtTestCase use temp_cwd ( #1380 )
...
BuildExtTestCase of test_distutils now uses support.temp_cwd() in
setUp() to remove files created in the current working in all
BuildExtTestCase unit tests, not only test_build_ext().
Move also tearDown() just after setUp().
2017-05-02 13:11:50 +02:00
Victor Stinner
f6448e5d65
bpo-30132: distutils test_build_ext() uses temp_cwd() ( #1278 )
...
test_build_ext() of test_distutils now uses support.temp_cwd() to
prevent the creation of a pdb file in the current working directory
on Windows.
2017-04-25 02:11:09 +02:00
Ryan Gonzalez
f9f87f0934
bpo-11913: Add README.rst to the distutils standard READMEs list ( #563 )
2017-04-14 11:00:25 +02:00
Berker Peksag
ef158c3ced
Issue #29218 : Remove unused install_misc command
...
It has been documented as unused since 6c6844a2fa30 (2000-05-25)
Patch by Eric N. Vander Weele.
2017-02-01 04:42:48 +03:00
Martin Panter
fc29c88b5f
Issue #28987 : Merge doc and comment fixes from 3.6
2016-12-18 05:41:55 +00:00
Martin Panter
fff07e34fa
Merge spelling and grammar from 3.5
2016-12-18 05:37:21 +00:00
Martin Panter
2f9171d900
Fix spelling and grammar in code comments and documentation
2016-12-18 01:23:09 +00: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
Xavier de Gaye
56758354c8
Issue 26931: Merge 3.6
2016-11-17 09:01:58 +01:00
Xavier de Gaye
dfc13e069a
Issue 26931: Skip the test_distutils tests using a compiler executable
...
that is not found
2016-11-17 09:00:19 +01:00
Serhiy Storchaka
c7ede1132e
Some distutils tests require zlib for creating tar.gz source distribution.
2016-10-23 22:58:23 +03:00
Serhiy Storchaka
cb637fa231
Some distutils tests require zlib for creating tar.gz source distribution.
2016-10-23 22:58:06 +03:00
Serhiy Storchaka
0211bb78fd
Some distutils tests require zlib for creating tar.gz source distribution.
2016-10-23 22:56:14 +03: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
Berker Peksag
f7b8d5d4eb
Issue #28222 : Merge from 3.6
2016-10-04 20:55:52 +03:00