[2.7] bpo-28552: Fix distutils.sysconfig for empty sys.executable (GH-12875) by vstinner · Pull Request #12949 · python/cpython

@vstinner

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).

@vstinner vstinner deleted the distutils_executable27 branch

April 25, 2019 11:16