Skip to content
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

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

Merged
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

…-12875)

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
5 checks passed
@vstinner vstinner deleted the distutils_executable27 branch Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants