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

[FR] Detect if an appropriate version of MSVC is already configured #4798

Open
1 task done
namazso opened this issue Jan 11, 2025 · 0 comments
Open
1 task done

[FR] Detect if an appropriate version of MSVC is already configured #4798

namazso opened this issue Jan 11, 2025 · 0 comments
Labels
enhancement Needs Triage Issues that need to be evaluated for severity and status.

Comments

@namazso
Copy link

namazso commented Jan 11, 2025

What's the problem this feature will solve?

I was attempting to compile with the Microsoft EWDK, but received error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ while running from the developer prompt. I was quite puzzled by the nonsensical error, as the active developer prompt was, in fact, "Microsoft Visual C++ 14.0 or greater".

Describe the solution you'd like

Detect the already configured compiler, and if it is suitable just use it, without the user having to find out about the existence of DISTUTILS_USE_SDK.

Alternative Solutions

If the envvars look to be configured while printing the earlier error, inform the user about the existence of DISTUTILS_USE_SDK that lets them just use the configured compiler, so that they don't have to go deep in setuptools source code to find out about it.

Code of Conduct

  • I agree to follow the PSF Code of Conduct
@namazso namazso added enhancement Needs Triage Issues that need to be evaluated for severity and status. labels Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Needs Triage Issues that need to be evaluated for severity and status.
Projects
None yet
Development

No branches or pull requests

1 participant