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

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

Merged
merged 1 commit into from Apr 25, 2019

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington 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).
(cherry picked from commit 0ef8c15)

Co-authored-by: Victor Stinner vstinner@redhat.com

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).
(cherry picked from commit 0ef8c15)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Copy link
Member

@vstinner vstinner left a comment

LGTM, good bot.

@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented Apr 25, 2019

@vstinner: Status check is done, and it's a failure .

@vstinner vstinner merged commit 3076a3e into python:3.7 Apr 25, 2019
5 of 6 checks passed
@miss-islington miss-islington deleted the backport-0ef8c15-3.7 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

4 participants