summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* bpo-35699: fix distuils cannot detect Build Tools 2017 anymore (GH-11495)Marc Schlaich2019-01-201-0/+1
|
* Distutils no longer needs to remain compatible with 2.3 (GH-11423)Miro Hrončok2019-01-091-2/+0
|
* bpo-11191: skip unsupported test_distutils case for AIX with xlc (GH-8709)Michael Felt2018-12-282-1/+6
| | | | | | | Command line options for the xlc compiler behave differently from gcc and clang, so skip this test case for now when xlc is the compiler. Patch by aixtools (Michael Felt)
* bpo-22831: Use "with" to avoid possible fd leaks in distutils. (GH-10921)Serhiy Storchaka2018-12-205-69/+65
|
* bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931)Victor Stinner2018-12-182-11/+32
| | | | | check_environ() of distutils.utils now catchs KeyError on calling pwd.getpwuid(): don't create the HOME environment variable in this case.
* bpo-35186: Remove "built with" comment in setup.py upload (GH-10414)Paul Ganssle2018-12-171-8/+2
| | | | | | 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.
* bpo-34738: Add directory entries in ZIP files created by distutils. (GH-9419)Serhiy Storchaka2018-12-054-10/+25
|
* bpo-35133: Fix mistakes when concatenate string literals on different lines. ↵Serhiy Storchaka2018-11-055-7/+7
| | | | | | | | | | (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.
* bpo-35067: Remove _distutils_findvs and use vswhere.exe instead. (GH-10095)Steve Dower2018-10-271-32/+32
|
* Use in-memory streams instead of NamedTemporaryFile. (GH-9508)Serhiy Storchaka2018-09-231-4/+6
|
* bpo-34421: Improve distutils logging for non-ASCII strings. (GH-9126)Serhiy Storchaka2018-09-232-24/+29
| | | | | | | Use "backslashreplace" instead of "unicode-escape". It is not implementation depended and escapes only non-encodable characters. Also simplify the code.
* bpo-34011: Fixes missing venv files and other tests (GH-9458)Steve Dower2018-09-202-0/+5
|
* bpo-34605: Replace "pliant children" with "helpers" (GH-9195)Victor Stinner2018-09-111-1/+1
| | | | | | | | | 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 -->
* bpo-34421 avoid unicode error in distutils logging (GH-8799)Julien Malard2018-09-081-1/+4
| | | | This caused installation errors in some cases on Windows. Patch by Julien Malard.
* bpo-34605: childs => children (GH-9102)Victor Stinner2018-09-071-1/+1
|
* bpo-34605: Avoid master/slave terms (GH-9101)Victor Stinner2018-09-071-1/+1
| | | | | | | * 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
* bpo-34530: Fix distutils find_executable() (GH-9049)Victor Stinner2018-09-042-3/+48
| | | | distutils.spawn.find_executable() now falls back on os.defpath if the PATH environment variable is not set.
* bpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash. ↵Steve Dower2018-07-261-2/+2
| | | | (GH-8464)
* bpo-32430: Rename Modules/Setup.dist to Modules/Setup (GH-8229)Antoine Pitrou2018-07-161-3/+1
| | | | | 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.
* Improve error message for "setup.py upload" without dist files (#21060)Éric Araujo2018-02-181-1/+2
|
* bpo-32304: Fix distutils upload for sdists ending with \x0d (GH-5264)Bo Bayles2018-01-262-2/+26
| | | | Patch by Bo Bayles.
* bpo-32588: Move _findvs into its own module and add missing _queue module to ↵Steve Dower2018-01-182-7/+6
| | | | installer (#5227)
* bpo-32302: Fix distutils bdist_wininst for CRT v142 (#4851)Victor Stinner2017-12-141-2/+2
| | | CRT v142 is binary compatible with CRT v140.
* bpo-19610: Warn if distutils is provided something other than a list to some ↵Neil Schemenauer2017-12-052-36/+58
| | | | | | | | | | | | | | | 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.
* bpo-32155: Revert distutils.config change (#4618)Victor Stinner2017-11-281-3/+2
| | | | | Revert distutils changes of the commit 696b501cd11dc429a0f661adeb598bfaf89e4112 and remove the realm variable.
* bpo-32155: Bugfixes found by flake8 F841 warnings (#4608)Victor Stinner2017-11-281-2/+2
| | | | | | | | | | | * 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".
* bpo-19610: setup() now raises TypeError for invalid types (GH-4519)Berker Peksag2017-11-232-0/+70
| | | | | | The Distribution class now explicitly raises an exception when 'classifiers', 'keywords' and 'platforms' fields are not specified as a list.
* bpo-29185: Fix `test_distutils` failures on Android (GH-4438)xdegaye2017-11-182-2/+10
| | | | * 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.
* Replace KB unit with KiB (#4293)Victor Stinner2017-11-081-2/+2
| | | | | | | | | | | 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.
* fixes bpo-31866: remove code pertaining to AtheOS support (#4115)Benjamin Peterson2017-10-261-18/+2
| | | | We stop support this OS in 2007 with commit 19fab761b71a1687aee3415db3a937b5ce31975d. Let's finish.
* remove support for BSD/OS (closes bpo-31624) (#3812)Benjamin Peterson2017-09-291-2/+2
|
* bpo-31569: correct PCBuild/ case to PCbuild/ in build scripts and docs (GH-3711)Stefan Grönke2017-09-251-1/+1
|
* bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler (#1632)Steve Dower2017-09-072-29/+94
|
* Remove all mention of Windows IA-64 support (GH-3389)Zachary Ware2017-09-065-23/+4
| | | It was mostly removed long ago.
* bpo-31340: Change to building with MSVC v141 (included with Visual Studio ↵Steve Dower2017-09-061-9/+13
| | | | 2017) (#3311)
* remove IRIX support (closes bpo-31341) (#3310)Benjamin Peterson2017-09-043-22/+7
| | | See PEP 11.
* bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489)Jon Dufresne2017-05-181-1/+1
| | | | | | | | * 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())
* bpo-30273: update distutils.sysconfig for venv's created from Python (#1515)Jeremy Kloth2017-05-091-5/+2
| | | compiled out-of-tree (builddir != srcdir). (see also bpo-15366)
* bpo-30273: Update sysconfig (#1464)Victor Stinner2017-05-041-1/+1
| | | | | | | | | | The AST_H_DIR variable was removed from Makefile.pre.in by the commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b (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.
* bpo-30132: distutils BuildExtTestCase use temp_cwd (#1380)Victor Stinner2017-05-021-18/+18
| | | | | | | 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().
* bpo-30132: distutils test_build_ext() uses temp_cwd() (#1278)Victor Stinner2017-04-251-0/+7
| | | | | 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.
* bpo-11913: Add README.rst to the distutils standard READMEs list (#563)Ryan Gonzalez2017-04-141-1/+1
|
* Issue #29218: Remove unused install_misc commandBerker Peksag2017-02-011-31/+0
| | | | | | It has been documented as unused since 6c6844a2fa30 (2000-05-25) Patch by Eric N. Vander Weele.
* Issue #28987: Merge doc and comment fixes from 3.6Martin Panter2016-12-181-1/+1
|\
| * Merge spelling and grammar from 3.5Martin Panter2016-12-181-1/+1
| |\
| | * Fix spelling and grammar in code comments and documentationMartin Panter2016-12-181-1/+1
| | |
* | | Issue #26071: Fixes preprocessor definition and rebuilds ↵Steve Dower2016-12-132-0/+0
|\ \ \ | |/ / | | | | | | wininst-14.0[-amd64].exe
| * | Issue #26071: Fixes preprocessor definition and rebuilds ↵Steve Dower2016-12-132-0/+0
| |\ \ | | |/ | | | | | | wininst-14.0[-amd64].exe
| | * Issue #26071: Fixes preprocessor definition and rebuilds ↵Steve Dower2016-12-132-0/+0
| | | | | | | | | | | | wininst-14.0[-amd64].exe
* | | Issue 26931: Merge 3.6Xavier de Gaye2016-11-175-24/+20
|\ \ \ | |/ /