Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fead8df commit 43adb25Copy full SHA for 43adb25
setup.py
@@ -154,10 +154,10 @@ def main():
154
cmake_args.append("-DWITH_LAPACK=ON")
155
cmake_args.append("-DENABLE_PRECOMPILED_HEADERS=OFF")
156
157
- if sys.platform.startswith("linux") and not x64:
+ if sys.platform.startswith("linux") and not x64 and "bdist_wheel" in sys.argv:
158
subprocess.check_call("patch -p0 < patches/patchOpenEXR", shell=True)
159
160
- if sys.platform == "darwin":
+ if sys.platform == "darwin" and "bdist_wheel" in sys.argv:
161
subprocess.check_call("patch -p1 < patches/patchQtPlugins", shell=True)
162
163
# works via side effect
0 commit comments