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

Add support for Windows #45

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

Conversation

BenjaminSchubert
Copy link
Owner

@BenjaminSchubert BenjaminSchubert commented Feb 17, 2023

This requires changing a few implementation details:

  • Now fully resolve the command before launching it within the venv, otherwise, in some obscure cases, Windows would not find the executable
  • Add more environment variables as passthrough, they are hard requirement in order to be able to run on windows
  • Also add some missing PKG_CONFIG variables as we are reworking this area

fix #36

The current problems are:

  • Python < 3.11 fails unimport tests with encoding errors
  • The _subproc module fails pylint checks on Windows, it uses apis that are not available there
  • The output of a dwas command run has extraneous new lines inserted when printing
  • Documentation for env vars need to be updated

This requires changing a few implementation details:

- Now fully resolve the command before launching it within the venv,
  otherwise, in some obscure cases, Windows would not find the
  executable
- Add more environment variables as passthrough, they are hard
  requirement in order to be able to run on windows
- Also add some missing PKG_CONFIG variables as we are reworking this
  area
@BenjaminSchubert BenjaminSchubert marked this pull request as draft February 18, 2023 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support running on Windows
1 participant