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.prefix to determine if inside a virtualenv #31

Merged
merged 1 commit into from
May 6, 2024

Conversation

ma-sadeghi
Copy link
Contributor

Fixes #30

Just need to double check that the test doesn't pass in a Conda environment.

When in a conda env, sys.prefix is the same as sys.base_prefix, so we still need the extra logic for conda.

@cjdoris cjdoris merged commit 9be25fb into JuliaPy:main May 6, 2024
0 of 6 checks passed
@cjdoris
Copy link
Collaborator

cjdoris commented May 6, 2024

Thanks!

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.

Refactor identifying whether in a virtualenv
2 participants