-
Notifications
You must be signed in to change notification settings - Fork 12
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
Improve Windows support #171
Improve Windows support #171
Conversation
Robert-Krajewski-Helsing
commented
Jan 16, 2024
•
edited
Loading
edited
- Add support for pyenv-win
- Make subprocess calls for tasks work
- Avoid using dmypy due to non-zero exit code without any error message
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Robert-Krajewski-Helsing ! Left a few comments. If you could also give this a changelog entry, this seems good to go!
@@ -148,6 +148,13 @@ def get_candidates( | |||
if re.match(r"\d+\.\d+\.\d+$", item.name) and item.is_dir(): | |||
yield {"path": str(item / "bin" / "python"), "exact_version": item.name} | |||
|
|||
# pyenv (Windows) | |||
pyenv_versions = (Path(os.getenv('PYENV')) / "versions").expanduser() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pyenv_versions = (Path(os.getenv('PYENV')) / "versions").expanduser() | |
pyenv_versions = (Path(os.getenv("PYENV")) / "versions").expanduser() |
Black will complain about this
…PYENV` env-var and using the right `pyhon.exe` path on Windows