Skip to content

[2.7] bpo-28552: Fix distutils.sysconfig for empty sys.executable (GH-12875) #12949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2019
Merged

[2.7] bpo-28552: Fix distutils.sysconfig for empty sys.executable (GH-12875) #12949

merged 1 commit into from
Apr 25, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Apr 25, 2019

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

https://bugs.python.org/issue28552

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 merged commit f4edd39 into python:2.7 Apr 25, 2019
@vstinner vstinner deleted the distutils_executable27 branch April 25, 2019 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants