Skip to content

Commit

Permalink
Respect PYHELICS_INSTALL (#70)
Browse files Browse the repository at this point in the history
* Respect PYHELICS_INSTALL

Respect the PYHELICS_INSTALL environment variable as described in https://python.helics.org/installation/

---------

Co-authored-by: Dheepak Krishnamurthy <me@kdheepak.com>
  • Loading branch information
Pascal-0x90 and kdheepak authored Oct 13, 2023
1 parent 796ff37 commit 45f589a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def read(*names, **kwargs):
CURRENT_DIRECTORY = os.path.dirname(os.path.realpath(__file__))

HELICS_SOURCE = os.path.join(CURRENT_DIRECTORY, "./_source")
PYHELICS_INSTALL = os.path.join(CURRENT_DIRECTORY, "./helics/install")
PYHELICS_INSTALL = os.environ.get("PYHELICS_INSTALL", os.path.join(CURRENT_DIRECTORY, "./helics/install"))

DOWNLOAD_URL = "https://github.com/GMLC-TDC/HELICS/releases/download/v{version}/Helics-v{version}-source.tar.gz".format(version=HELICS_VERSION)

Expand Down

0 comments on commit 45f589a

Please sign in to comment.