-
-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Windows support in key critical areas. (#2663)
Although Pex still does not support Windows, this is work towards #2658. In particular, support is added for: + Shared and exclusive file locks. + Versions of `os.link`, `os.symlink` and `os.rename` that either work with Windows or work with most modern Windows setups. + Executable file detection that works for Windows. + Partial support for Windows venvs by accommodating its `Scripts` dir and console script style (`.exe` stubs). Informal testing shows the following work: + `py -mpex cowsay` + `py -mpex cowsay -ccowsay {,--venv} -- -t Moo!` + `py -mpex cowsay -ccowsay {,--venv} -ocowsay.pex` + `py -mpex cowsay -ccowsay -ocowsay.pex --scie {eager,lazy}` + `py -mpex.cli cache {prune,purge}` Important non-working things include: + The developer system: `tox ...` needs work most fundamentally. + Venv scripts / venv scies: Need support for Windows `.exe` stub scripts.
- Loading branch information
Showing
56 changed files
with
718 additions
and
196 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
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
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
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
Oops, something went wrong.