- 25 Apr, 2019 1 commit
-
-
Victor Stinner authored
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).
-
- 17 Apr, 2019 2 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
shutil.which() and distutils.spawn.find_executable() now use os.confstr("CS_PATH") if available instead of os.defpath, if the PATH environment variable is not set. Don't use os.confstr("CS_PATH") nor os.defpath if the PATH environment variable is set to an empty string to mimick Unix 'which' command behavior. Changes: * find_executable() now starts by checking for the executable in the current working directly case. Add an explicit "if not path: return None". * Add tests for PATH='' (empty string), PATH=':' and for PATHEXT.
-
- 10 Apr, 2019 1 commit
-
-
Victor Stinner authored
Set CUSTOMIZED_OSX_COMPILER to True to disable _osx_support.customize_compiler().
-
- 09 Apr, 2019 1 commit
-
-
Inada Naoki authored
-
- 08 Apr, 2019 1 commit
-
-
Mickaël Schoentgen authored
-
- 27 Mar, 2019 1 commit
-
-
Philipp A authored
-
- 18 Mar, 2019 1 commit
-
-
Victor Stinner authored
The test test_customize_compiler() now mocks all sysconfig variables and all environment variables used by customize_compiler().
-
- 15 Mar, 2019 1 commit
-
-
Victor Stinner authored
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>
-
- 12 Mar, 2019 1 commit
-
-
Anthony Sottile authored
-
- 04 Mar, 2019 1 commit
-
-
Kevin Adler authored
For C++ extensions, distutils tries to replace the C compiler with the C++ compiler, but it assumes that C compiler is the first element after any environment variables set. On AIX, linking goes through ld_so_aix, so it is the first element and the compiler is the next element. Thus the replacement is faulty: ld_so_aix gcc ... -> g++ gcc ... Also, it assumed that self.compiler_cxx had only 1 element or that there were the same number of elements as the linker has and in the same order. This might not be the case, so instead concatenate everything together.
-
- 05 Feb, 2019 1 commit
-
-
Steve Dower authored
-
- 20 Jan, 2019 1 commit
-
-
Marc Schlaich authored
-
- 09 Jan, 2019 1 commit
-
-
Miro Hrončok authored
-
- 28 Dec, 2018 1 commit
-
-
Michael Felt authored
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)
-
- 20 Dec, 2018 1 commit
-
-
Serhiy Storchaka authored
-
- 18 Dec, 2018 1 commit
-
-
Victor Stinner authored
check_environ() of distutils.utils now catchs KeyError on calling pwd.getpwuid(): don't create the HOME environment variable in this case.
-
- 17 Dec, 2018 1 commit
-
-
Paul Ganssle authored
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.
-
- 05 Dec, 2018 1 commit
-
-
Serhiy Storchaka authored
-
- 05 Nov, 2018 1 commit
-
-
Serhiy Storchaka authored
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.
-
- 27 Oct, 2018 1 commit
-
-
Steve Dower authored
-
- 23 Sep, 2018 2 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Use "backslashreplace" instead of "unicode-escape". It is not implementation depended and escapes only non-encodable characters. Also simplify the code.
-
- 20 Sep, 2018 1 commit
-
-
Steve Dower authored
-
- 11 Sep, 2018 1 commit
-
-
Victor Stinner authored
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 -->
-
- 08 Sep, 2018 1 commit
-
-
Julien Malard authored
This caused installation errors in some cases on Windows. Patch by Julien Malard.
-
- 07 Sep, 2018 2 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
* 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
-
- 04 Sep, 2018 1 commit
-
-
Victor Stinner authored
distutils.spawn.find_executable() now falls back on os.defpath if the PATH environment variable is not set.
-
- 26 Jul, 2018 1 commit
-
-
Steve Dower authored
-
- 16 Jul, 2018 1 commit
-
-
Antoine Pitrou authored
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.
-
- 18 Feb, 2018 1 commit
-
-
Éric Araujo authored
-
- 26 Jan, 2018 1 commit
-
-
Bo Bayles authored
Patch by Bo Bayles.
-
- 18 Jan, 2018 1 commit
-
-
Steve Dower authored
-
- 14 Dec, 2017 1 commit
-
-
Victor Stinner authored
CRT v142 is binary compatible with CRT v140.
-
- 05 Dec, 2017 1 commit
-
-
Neil Schemenauer authored
* 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.
-
- 28 Nov, 2017 2 commits
-
-
Victor Stinner authored
Revert distutils changes of the commit 696b501cd11dc429a0f661adeb598bfaf89e4112 and remove the realm variable.
-
Victor Stinner authored
* 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".
-
- 23 Nov, 2017 1 commit
-
-
Berker Peksag authored
The Distribution class now explicitly raises an exception when 'classifiers', 'keywords' and 'platforms' fields are not specified as a list.
-
- 18 Nov, 2017 1 commit
-
-
xdegaye authored
* 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.
-