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

Automatically find Visual Studio on Windows #466

Closed
neworderofjamie opened this issue Oct 15, 2021 · 0 comments · Fixed by #471
Closed

Automatically find Visual Studio on Windows #466

neworderofjamie opened this issue Oct 15, 2021 · 0 comments · Fixed by #471

Comments

@neworderofjamie
Copy link
Contributor

Especially for people using Python IDEs, it's very annoying having to use PyGeNN from a Visual Studio environment. Brian2 does the following:

from setuptools import mscv
_msvc_env = msvc.msvc14_get_vc_env(arch_name)

Caches _msvc_env as the lookup is heavyweight and then just adds the result into the environment passed to subprocess.check_call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant