-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
Fix editable install on windows #3117
Conversation
18a496c
to
54487ce
Compare
I just tested this on a fresh Windows 11 VM and it seems to work okay |
54487ce
to
d35a672
Compare
While this strategy works, I believe it can be improved further. I'll experiment with this a bit more. |
d35a672
to
9a2c587
Compare
9a2c587
to
98170b3
Compare
Okay, I think this PR should be done from my side. The new strategy basically makes the meson buildconfig keep track of the DLL dirs in a JSON file, and then at runtime this file can be handled if it is available (in the editable case only) |
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.
Tested on Windows, and it works fine, thanks for the PR!
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.
LGTM!
An (untested) attempt to making editable installs work on windows.
Basically the idea is to special case the DLL handling code which already exists, to handle editable installs differently. With an editable install no DLL moving happens, so we just have to hunt for the DLLs in the source tree and track the folders.