Skip to content

Commit f4e7680

Browse files
authored
Update setup.py
1 parent 52f94f5 commit f4e7680

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ def main():
115115
else []
116116
)
117117
+
118-
"openblas": (
119-
[r"openblas/bin/libopenblas\d*\.dll"]
120-
if os.name == "nt"
121-
else []
118+
(
119+
[os.path.join(os.environ["OpenBLAS_HOME"], "bin", "libopenblas.exp.dll").replace("\\", "\\\\")]
120+
if os.name == "nt" and "OpenBLAS_HOME" in os.environ
121+
else []
122122
)
123123
+
124124
# In Windows, in python/X.Y/<arch>/; in Linux, in just python/X.Y/.

0 commit comments

Comments
 (0)