Skip to content

Comments

Fix finding python executable with working platform-specific handling#36

Merged
m-kuhn merged 2 commits intoopengisch:mainfrom
cankanoa:fix-finding-python-executable
Jun 24, 2025
Merged

Fix finding python executable with working platform-specific handling#36
m-kuhn merged 2 commits intoopengisch:mainfrom
cankanoa:fix-finding-python-executable

Conversation

@cankanoa
Copy link
Contributor

Refactor python_command to improve platform-specific logic for locating the appropriate Python executable. Added handling for Conda environments and refined fallback mechanisms for Windows, MacOS, and other systems. This enhances compatibility with different setups and resolves #34.

Refactor `python_command` to improve platform-specific logic for locating the appropriate Python executable. Added handling for Conda environments and refined fallback mechanisms for Windows, MacOS, and other systems. This enhances compatibility with different setups and resolves opengisch#34.
@m-kuhn
Copy link
Member

m-kuhn commented Jun 24, 2025

Thanks a lot for coming up with this !

Replaced `glob`-based searches with direct file existence checks to streamline the detection logic. This reduces complexity and improves readability without altering functionality.
@cankanoa
Copy link
Contributor Author

This should be more efficient now. Glad to help out. This plugin should really be used more, its very helpful.

@m-kuhn m-kuhn merged commit e272291 into opengisch:main Jun 24, 2025
2 checks passed
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.

QPIP fails due to apparent garbled install command

2 participants