Skip to content

Add support for Windows#45

Draft
BenjaminSchubert wants to merge 10 commits intomainfrom
bschubert/support-windows
Draft

Add support for Windows#45
BenjaminSchubert wants to merge 10 commits intomainfrom
bschubert/support-windows

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