Skip to content
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 Windows Store install detection #949

Merged
merged 2 commits into from
Jun 3, 2022

Conversation

yodaldevoid
Copy link

This includes two fixes:

  • At least for me, maturin was unable to run python executables for auto-detection without the .exe extension explicitly added, so this adds the extension.
  • I have an old version of py.exe that can pick up all of my Windows Store installs. My Python 3.7 install is unable to be run through py.exe for whatever reason, however. There is no reason that I can see to completely bail when we can't execute the test command through py.exe for a particular install, so I changed it to just a warning.

Prior work #944

Completely fixes #788

Some Windows versions refuse to see the Windows Store application
aliases unless you explicitly append the ".exe" extension.
Some weird or broken installs can be reported by py.exe. We shouldn't
fail to run just because of these installs as others could exist that
work.
@netlify
Copy link

netlify bot commented Jun 2, 2022

Deploy Preview for maturin-guide canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit d922130
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/629949f3d116cc0008785779

@messense messense merged commit 05bda9e into PyO3:main Jun 3, 2022
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.

Auto-detect Python Installs from Microsoft Store
2 participants