-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3117 from pygame-community/ankith26-fix-editable
Fix editable install on windows
- Loading branch information
Showing
4 changed files
with
47 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
""" | ||
A helper file invoked by the meson buildconfig to write DLL paths to a json file | ||
""" | ||
|
||
import json | ||
import sys | ||
|
||
from pathlib import Path | ||
|
||
dll_parents = {str(Path(i).parent) for i in sys.argv[1:]} | ||
win_dll_dirs_file = Path(__file__).parent / "win_dll_dirs.json" | ||
|
||
if __name__ == "__main__": | ||
win_dll_dirs_file.write_text(json.dumps(list(dll_parents)), encoding="utf-8") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters