summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34738: Add directory entries in ZIP files created by distutils. ↵Miss Islington (bot)2018-12-054-10/+25
| | | | | | | (GH-9419) (GH-10942) (cherry picked from commit 67a93b3a0b3814e97ef9d077b21325fc8ce351b2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.6] bpo-35133: Fix mistakes when concatenate string literals on different ↵Serhiy Storchaka2018-11-055-7/+7
| | | | | | | | | | | lines. (GH-10284) (GH-10335) 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.. (cherry picked from commit 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d)
* bpo-34421: Improve distutils logging for non-ASCII strings. (GH-9126) (GH-9506)Miss Islington (bot)2018-09-232-25/+32
| | | | | | | | | | Use "backslashreplace" instead of "unicode-escape". It is not implementation depended and escapes only non-encodable characters. Also simplify the code. (cherry picked from commit 4b860fd) (cherry picked from commit c73df53569f86d0c7742bafa55958c53d57a02e4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Fixes tests requiring extra environment values on Windows (GH-9463)Steve Dower2018-09-202-0/+5
|
* bpo-34421 avoid unicode error in distutils logging (GH-8799)Miss Islington (bot)2018-09-081-1/+4
| | | | | | | This caused installation errors in some cases on Windows. Patch by Julien Malard. (cherry picked from commit 0afada163c7ef25c3a9d46ed445481fb69f2ecaf) Co-authored-by: Julien Malard <julien.malard@mail.mcgill.ca>
* bpo-34530: Fix distutils find_executable() (GH-9049) (GH-9057)Miss Islington (bot)2018-09-052-3/+48
| | | | | | | distutils.spawn.find_executable() now falls back on os.defpath if the PATH environment variable is not set. (cherry picked from commit 39487196c87e28128ea907a0d9b8a88ba53f68d5) Co-authored-by: Victor Stinner <vstinner@redhat.com>
* bpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash. ↵Miss Islington (bot)2018-07-291-2/+2
| | | | | | | (GH-8464) (cherry picked from commit 5473f061f518aef5367a535999a407305fb12aff) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* Improve error message for "setup.py upload" without dist files (GH-21060)Miss Islington (bot)2018-02-191-1/+2
| | | | | (cherry picked from commit 08a6926b2584040fe3c3f06263b0b5f1fbbdc24c) Co-authored-by: Éric Araujo <merwok@netwok.org>
* [3.6] bpo-32304: Fix distutils upload for tar files ending with b'\r' ↵Bo Bayles2018-01-272-2/+26
| | | | | (GH-5264) (GH-5330) Patch by Bo Bayles.
* [3.6] bpo-32588 Move _distutils_findvs into its own module (GH-5227) (#5228)Steve Dower2018-01-182-7/+6
|
* bpo-32302: Fix distutils bdist_wininst for CRT v142 (GH-4851) (#4861)Miss Islington (bot)2017-12-141-2/+2
| | | | CRT v142 is binary compatible with CRT v140. (cherry picked from commit 9e7c136ad8bc8e8eec50c2a8ae5ff02752f695a2)
* [3.6] bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler GH-1632 ↵Steve Dower2017-09-072-29/+94
| | | | (#3425)
* [3.6] bpo-31340: Change to building with MSVC v141 (included with Visual ↵Steve Dower2017-09-061-9/+13
| | | | Studio 2017) (GH-3311) (#3386)
* bpo-30273: update distutils.sysconfig for venv's created from Python (#1515) ↵Victor Stinner2017-05-171-5/+2
| | | | | | (#1625) compiled out-of-tree (builddir != srcdir). (see also bpo-15366) (cherry picked from commit dbdea629e2e0e4bd8845aa55041e0a0ca4172cf3)
* [3.6] bpo-23404: make touch becomes make regen-all (#1405) (#1461)Victor Stinner2017-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-23404: make touch becomes make regen-all (#1405) Don't rebuild generated files based on file modification time anymore, the action is now explicit. Replace "make touch" with "make regen-all". Changes: * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch * Add a new "make regen-all" command to rebuild all generated files * Add subcommands to only generate specific files: - regen-ast: Include/Python-ast.h and Python/Python-ast.c - regen-grammar: Include/graminit.h and Python/graminit.c - regen-importlib: Python/importlib_external.h and Python/importlib.h - regen-opcode: Include/opcode.h - regen-opcode-targets: Python/opcode_targets.h - regen-typeslots: Objects/typeslots.inc * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN * pgen is now only built by by "make regen-grammar" * Add $(srcdir)/ prefix to paths to source files to handle correctly compilation outside the source directory Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make" default target building Python. (cherry picked from commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b) * bpo-30273: Update sysconfig (#1464) 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. (cherry picked from commit b109a1d3360fc4bb87b9887264e3634632d392ca)
* bpo-30132: distutils BuildExtTestCase use temp_cwd (#1387)Victor Stinner2017-05-021-0/+7
| | | | | | | | | | | 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(). Fix the following warning: Warning -- files was modified by test_distutils Before: [] After: ['vc140.pdb']
* 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 26931: Skip the test_distutils tests using a compiler executableXavier de Gaye2016-11-175-24/+20
| | | | | | | | that is not found
* | Some distutils tests require zlib for creating tar.gz source distribution.Serhiy Storchaka2016-10-231-1/+3
|\ \ | |/
| * Some distutils tests require zlib for creating tar.gz source distribution.Serhiy Storchaka2016-10-231-3/+3
| |
* | Issue #28222: Merge from 3.5Berker Peksag2016-10-041-2/+14
|\ \ | |/
| * Issue #28222: Don't fail if pygments is not availableBerker Peksag2016-10-041-2/+14
| | | | | | | | | | | | We can't just skip the test if docutils is available, but pygments is not because the purpose of the test was testing a bug in _check_rst_data().
* | merge 3.5 (#1703178)Benjamin Peterson2016-09-292-0/+8
|\ \ | |/
| * build_ext: correctly parse the link_objects user option (closes #1703178)Benjamin Peterson2016-09-292-0/+8
| | | | | | | | Patch by Valerie Lambert.
| * Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-071-1/+1
| |
* | Issue #28046: get_sysconfigdata_name() uses the _PYTHON_SYSCONFIGDATA_NAMEXavier de Gaye2016-09-111-2/+3
| | | | | | | | environment variable that is defined when cross-compiling.
* | Issue #22493: Inline flags now should be used only at the start of theSerhiy Storchaka2016-09-112-12/+17
| | | | | | | | | | regular expression. Deprecation warning is emitted if uses them in the middle of the regular expression.
* | Issue #28046: Fix distutilsZachary Ware2016-09-101-1/+5
| | | | | | | | Why do we have two sysconfig modules again?
* | #27364: fix "incorrect" uses of escape character in the stdlib.R David Murray2016-09-087-8/+8
| | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.
* | Merge backout for test suite fixJason R. Coombs2016-09-021-2/+9
|\ \ | |/
| * Merge backout for test suite fixJason R. Coombs2016-09-021-2/+9
| |\
| | * Backed out changeset cc86e9e102e8Jason R. Coombs2016-09-021-2/+9
| | |
* | | Issue #12885: Merge with 3.5Jason R. Coombs2016-09-022-31/+59
|\ \ \ | |/ /
| * | Issue #12285: Merge with 3.4Jason R. Coombs2016-09-022-31/+59
| |\ \ | | |/
| | * Issue #12285: Replace implementation of findall with implementation from ↵Jason R. Coombs2015-09-191-27/+21
| | | | | | | | | | | | Setuptools 7ce820d524db.
| | * Sort result to avoid spurious errors due to order.Jason R. Coombs2015-08-301-2/+2
| | |
| | * Add docstring and additional test revealing nuances of the implementation as ↵Jason R. Coombs2015-09-191-0/+16
| | | | | | | | | | | | found in setuptools.
| | * Add another test capturing the basic discovery expectation.Jason R. Coombs2015-08-301-0/+11
| | |
| | * Issue #12285: Add test capturing failure.Jason R. Coombs2015-08-301-0/+10
| | |
| | * Use modern mechanism for test discoveryJason R. Coombs2015-08-301-5/+2
| | |
* | | Issue #27919: Deprecate extra_path option in distutils.Jason R. Coombs2016-09-011-0/+6
| | |
* | | #27904: fix distutils tests.R David Murray2016-08-312-2/+4
| | | | | | | | | | | | Patch by Ville Skyttä.
* | | Closes #27904: Improved logging statements to defer formatting until needed.Vinay Sajip2016-08-318-13/+12
| | |
* | | Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-301-1/+1
| | |
* | | Issue #27819: Simply default to gztar for sdist formats by default on all ↵Jason R. Coombs2016-08-201-11/+1
| | | | | | | | | | | | platforms.
* | | Merge 3.5Donald Stufft2016-08-033-6/+6
|\ \ \ | |/ /
| * | Merge 3.4Donald Stufft2016-08-033-6/+6
| |\ \ | | |/