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

Respect PYHELICS_INSTALL #70

Merged
merged 5 commits into from
Oct 13, 2023
Merged

Respect PYHELICS_INSTALL #70

merged 5 commits into from
Oct 13, 2023

Conversation

Pascal-0x90
Copy link
Contributor

Problem

When setting the PYHELICS_INSTALL environment variable, the setup.py will still attempt to download or build the HELICS binaries.

Expected Outcome

When setting PYHELICS_INSTALL, the setup.py should respect this and not proceed with downloading or building HELICS into ./helics/.

Solution

Respect the PYHELICS_INSTALL environment variable as described in https://python.helics.org/installation/ by setting the PYHELICS_INSTALL variable in setup.py to the environment variable PYHELICS_INSTALL if set, otherwise set to a default path of ./helics as previously set in the setup.py before.

Respect the PYHELICS_INSTALL environment variable as described in https://python.helics.org/installation/
@trevorhardy trevorhardy requested a review from kdheepak October 9, 2023 21:13
setup.py Outdated Show resolved Hide resolved
I like @kdheepak's suggestion for this a lot more than my original one. Thanks!!

Co-authored-by: Dheepak Krishnamurthy <me@kdheepak.com>
@Pascal-0x90
Copy link
Contributor Author

I went ahead and added that suggestion into my branch, I do like that a lot more. Thanks for that 😄

setup.py Outdated Show resolved Hide resolved
@kdheepak kdheepak merged commit 45f589a into GMLC-TDC:main Oct 13, 2023
2 of 3 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.

2 participants