summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* closes bpo-37965: Fix compiler warning of distutils CCompiler.test_function. ↵Miss Islington (bot)2019-08-281-1/+2
| | | | | | | | | | | | (GH-15560) https://bugs.python.org/issue37965 https://bugs.python.org/issue37965 Automerge-Triggered-By: @benjaminp (cherry picked from commit 55aabee07501e1468082b3237620e4ecd75c5da6) Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
* bpo-28552: Fix distutils.sysconfig for empty sys.executable (GH-12875) ↵Victor Stinner2019-04-252-3/+13
| | | | | | | | | (GH-12949) bpo-28552, bpo-7774: Fix distutils.sysconfig if sys.executable is None or an empty string: use os.getcwd() to initialize project_base. Fix also the distutils build command: don't use sys.executable if it's evaluated as false (None or empty string).
* bpo-36235: Fix distutils test_customize_compiler() on macOS (GH-12751)Victor Stinner2019-04-091-0/+3
| | | | Set CUSTOMIZED_OSX_COMPILER to True to disable _osx_support.customize_compiler().
* bpo-31292: Fixed distutils check --restructuredtext for include directives ↵Miss Islington (bot)2019-03-273-2/+18
| | | | | | | (GH-10605) (cherry picked from commit d5a5a33f12b60129d57f9b423b77d2fcba506834) Co-authored-by: Philipp A <flying-sheep@web.de>
* bpo-36235: Enhance distutils test_customize_compiler() (GH-12403) (GH-12417)Victor Stinner2019-03-181-13/+82
| | | | | | The test test_customize_compiler() now mocks all sysconfig variables and all environment variables used by customize_compiler(). (cherry picked from commit 72c7b372cf145fded93a9a776acc742a60090f95)
* bpo-36235: Fix CFLAGS in distutils customize_compiler() (GH-12236) (GH-12349)Victor Stinner2019-03-152-4/+29
| | | | | | | | | | Fix CFLAGS in customize_compiler() of distutils.sysconfig: when the CFLAGS environment variable is defined, don't override CFLAGS variable with the OPT variable anymore. Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com> (cherry picked from commit 86082c22d23285995a32aabb491527c9f5629556)
* bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931) ↵Victor Stinner2018-12-182-4/+47
| | | | | | | | | (GH-11213) check_environ() of distutils.utils now catchs KeyError on calling pwd.getpwuid(): don't create the HOME environment variable in this case. (cherry picked from commit 17d0c0595e101c4ce76b58e55de37e6b5083e6cd)
* [2.7] bpo-34738: Add directory entries in ZIP files created by distutils. ↵Serhiy Storchaka2018-12-054-4/+20
| | | | | | (GH-9419). (GH-10950) (cherry picked from commit 67a93b3a0b3814e97ef9d077b21325fc8ce351b2)
* [2.7] bpo-35133: Fix mistakes when concatenate string literals on different ↵Serhiy Storchaka2018-11-055-7/+7
| | | | | | | | | | | | lines. (GH-10284) (GH-10335) (GH-10336) 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) (cherry picked from commit 7054e5c80b6e98cd44e22d1bc2d7f0a94343089d)
* bpo-34530: Fix distutils find_executable() (GH-9049) (GH-9058)Victor Stinner2018-09-042-3/+49
| | | | | | distutils.spawn.find_executable() now falls back on os.defpath if the PATH environment variable is not set. (cherry picked from commit 39487196c87e28128ea907a0d9b8a88ba53f68d5)
* bpo-28222: Don't fail if pygments is not available (GH-7564)Zachary Ware2018-06-091-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(). (cherry-picked from b5bb404ccaa9a3dd81e220fb4ca40253be778831)
* [2.7] bpo-21060 Improve error message for "setup.py upload" without dist ↵Éric Araujo2018-02-191-1/+3
| | | | | | | files (GH-5726). (cherry picked from commit 08a6926b2584040fe3c3f06263b0b5f1fbbdc24c) Co-authored-by: Éric Araujo <merwok@netwok.org>
* bpo-32304: Fix distutils upload for tar files ending with b'\r' (GH-5264) ↵Bo Bayles2018-01-292-2/+26
| | | | | (GH-5331) Patch by Bo Bayles.
* bpo-31955: Fix distutils CCompiler.set_executable() for Unicode (GH-4316)Mazay02017-11-082-1/+25
| | | Fix CCompiler.set_executable() of distutils to handle properly Unicode strings.
* test_distutils: test_build_ext uses EnvironGuard (#1458)Victor Stinner2017-05-041-0/+1
| | | | | | | | | Use EnvironGuard on BuildExtTestCase to save/restore os.environ, to fix the following warning: Warning -- os.environ was modified by test_distutils MSVCCompiler.initialize() of distutils.msvc9compiler modifies os.environ.
* test_distutils: use EnvironGuard (#1433)Victor Stinner2017-05-032-1/+3
| | | | | | | Use EnvironGuard on InstallTestCase and UtilTestCase. Backport fixes from master to prevent the following warning: Warning -- os.environ was modified by test_distutils
* Fix spelling in code commentsMartin Panter2016-12-181-1/+1
|
* Some distutils tests require zlib for creating tar.gz source distribution.Serhiy Storchaka2016-10-231-0/+7
|
* 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
|
* Switch upload.pypi.io to upload.pypi.orgDonald Stufft2016-08-033-5/+5
|
* Issue #20767: Fix -R option for FreeBSD/clang.Stefan Krah2016-08-031-0/+2
|
* English spelling and grammar fixesMartin Panter2016-07-111-1/+1
|
* Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed to fix the grammar.
* Switch to the new upload url for PyPIDonald Stufft2016-07-063-5/+5
|
* Issue #27171: Fix typos in documentation, code comments, and testsMartin Panter2016-06-021-1/+1
|
* Issue #27076: Doc, comment and test function name spelling fixesMartin Panter2016-05-262-2/+2
| | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-2/+2
|
* Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries.Ned Deily2016-02-242-2/+25
| | | | | | | | | | | | | | | As of Xcode 7, SDKs for Apple platforms now include textual-format stub libraries whose file names have a .tbd extension rather than the standard OS X .dylib extension. The Apple compiler tool chain handles these stub libraries transparently and the installed system shared libraries are still .dylibs. However, the new stub libraries cause problems for third-party programs that support building with Apple SDKs and make build-time decisions based on the presence or paths of system-supplied shared libraries in the SDK. In particular, building Python itself with an SDK fails to find system-supplied libraries during setup.py's build of standard library extension modules. The solution is to have find_library_file() in Distutils search for .tbd files, along with the existing types (.a, .so, and .dylib). Patch by Tim Smith.
* Issue #25607: Restore old distutils logging threshold after running tests thatSerhiy Storchaka2015-11-122-0/+4
| | | | parse command line arguments.
* fix name of argument in docstring and the docs (closes #25076)Benjamin Peterson2015-09-131-1/+1
| | | | Patch by TAKASE Arihiro.
* Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.pySteve Dower2015-08-081-1/+1
|
* Close #24508: Backport the 3.5 MSBuild project files.Zachary Ware2015-07-161-4/+6
| | | | | | | The old project files move to PC/VS9.0 and remain supported. VS2008 is still required to build 2.7; VS2010 (or later, plus Windows SDK 7.1) is *also* required to use the new project files.
* keep distutils version in sync with python version automaticallyBenjamin Peterson2015-05-261-8/+2
|
* python 2.7.10 finalv2.7.10Benjamin Peterson2015-05-231-1/+1
|
* bump version to 2.7.10rc1v2.7.10rc1Benjamin Peterson2015-05-101-1/+1
|
* Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-2/+2
| | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* fix parsing reST with code or code-block directives (closes #23063)Benjamin Peterson2015-01-152-4/+35
| | | | Patch by Marc Abramowitz.
* fix instances of consecutive articles (closes #23221)Benjamin Peterson2015-01-131-1/+1
| | | | Patch by Karan Goel.
* bump to 2.7.9 finalv2.7.9Benjamin Peterson2014-12-101-1/+1
|
* 2.7.9rc1v2.7.9rc1Benjamin Peterson2014-11-261-1/+1
|
* Issue #8876: distutils now falls back to copying files when hard linking ↵Antoine Pitrou2014-10-302-13/+64
| | | | | | doesn't work. This allows use with special filesystems such as VirtualBox shared folders.
* - Issue #17219: Add library build dir for Python extension cross-builds.doko@ubuntu.com2014-10-021-1/+1
|
* #22512: move distutils rpm test's .rpmdb to testing tmpdir.R David Murray2014-10-011-0/+3
| | | | Patch by Francis MB.
* #10510: make distuitls upload/register use HTML standards compliant CRLF.R David Murray2014-09-272-6/+5
| | | | Patch by Ian Cordasco, approved by Éric Araujo.
* test_distutils: remove the test file in DistributionTestCase.test_debug_mode()Victor Stinner2014-09-111-1/+2
| | | | Fix the warning: "test_support.TESTFN was modified by test_distutils".
* Issue #21923: Prevent AttributeError in distutils.sysconfig.customize_compilerNed Deily2014-07-062-1/+23
| | | | due to possible uninitialized _config_vars. Original patch by Alex Gaynor.
* bump to 2.7.8v2.7.8Benjamin Peterson2014-06-301-1/+1
|
* Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.Ned Deily2014-06-251-2/+10
|
* Issue #21722: The distutils "upload" command now exits with a non-zero ↵Antoine Pitrou2014-06-192-8/+18
| | | | | | return code when uploading fails. Patch by Martin Dengler.