Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 43adb25

Browse filesBrowse files
committed
fix regression
1 parent fead8df commit 43adb25
Copy full SHA for 43adb25

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ def main():
154154
cmake_args.append("-DWITH_LAPACK=ON")
155155
cmake_args.append("-DENABLE_PRECOMPILED_HEADERS=OFF")
156156

157-
if sys.platform.startswith("linux") and not x64:
157+
if sys.platform.startswith("linux") and not x64 and "bdist_wheel" in sys.argv:
158158
subprocess.check_call("patch -p0 < patches/patchOpenEXR", shell=True)
159159

160-
if sys.platform == "darwin":
160+
if sys.platform == "darwin" and "bdist_wheel" in sys.argv:
161161
subprocess.check_call("patch -p1 < patches/patchQtPlugins", shell=True)
162162

163163
# works via side effect

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.