Skip to content

python: pretend to be cygwin in more places#2496

Merged
lazka merged 7 commits into
msys2:masterfrom
lazka:python-cygwinify
May 13, 2021
Merged

python: pretend to be cygwin in more places#2496
lazka merged 7 commits into
msys2:masterfrom
lazka:python-cygwinify

Conversation

@lazka

@lazka lazka commented May 11, 2021

Copy link
Copy Markdown
Member

The main change here is that sys.platform == 'cygwin', which allows
us to drop various changes for extending cygwin checks. Fewer patches
and less likely that we miss to patch a new cygwin check on updates.

If one really needs to check for msys Python then this still works:

sysconfig.get_platform().startswith("msys")

The main change here is that sys.platform == 'cygwin', which allows
us to drop various changes for extending cygwin checks. Fewer patches
and less likely that we miss to patch a new cygwin check on updates.

If one really needs to check for msys Python then this still works:

sysconfig.get_platform().startswith("msys")
@lazka

lazka commented May 11, 2021

Copy link
Copy Markdown
Member Author

This will require a review of patches for other packages which use sys.platform.

@lazka lazka marked this pull request as ready for review May 13, 2021 10:55
@lazka lazka merged commit ca391a3 into msys2:master May 13, 2021
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.

1 participant