We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8609c3e + cf2921d commit 67b4b76Copy full SHA for 67b4b76
setup.py
@@ -34,12 +34,6 @@
34
# except ImportError:
35
from distutils.command.clean import clean as _clean
36
37
-try:
38
- from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
39
- haveWheel = True
40
-except ImportError:
41
- haveWheel = False
42
-
43
# To use a consistent encoding
44
# from codecs import open
45
@@ -71,8 +65,16 @@
71
65
72
66
osx_sysroot = ''
73
67
68
+haveWheel = False
69
+
74
70
if platform == "linux" or platform == "linux2":
75
dylibext = '.so'
+ # Wheel build only works on linux because of chrpath command
+ try:
+ from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
+ haveWheel = True
76
+ except ImportError:
77
+ print("Skipping wheel build; wheel not installed.")
78
elif platform == "darwin":
79
# OS X
80
dylibext = '.dylib'
0 commit comments