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

use sys.executable() standard function to obtain python executable #1964

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kloczek
Copy link

@kloczek kloczek commented Oct 7, 2023

Use sys.executable() standard function instead custom code which assumes that python executable is python.

Use `sys.executable()` standard function instead custom code which
assumes that python executable is `python`.

Signed-off-by: Tomasz Kłoczko <[email protected]>
@codecov-commenter
Copy link

Codecov Report

All modified lines are covered by tests ✅

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

📢 Thoughts on this report? Let us know!.

@davidhalter
Copy link
Owner

The tests are failing unfortunately. If this works well, I'm happy to merge it, but not as long as the tests fail.

@kloczek
Copy link
Author

kloczek commented Oct 7, 2023

The tests are failing unfortunately. If this works well, I'm happy to merge it, but not as long as the tests fail.

Looks like it fails in one env in custom code which is trying to figure out what is the sitelib path (which should be obtained from sysconfig.get_path('purelib')) 🤔

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.

None yet

3 participants