We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6fe636d + cf2921d commit 127ec4fCopy full SHA for 127ec4f
setup.py
@@ -35,12 +35,6 @@
35
# except ImportError:
36
from distutils.command.clean import clean as _clean
37
38
-try:
39
- from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
40
- haveWheel = True
41
-except ImportError:
42
- haveWheel = False
43
-
44
# To use a consistent encoding
45
# from codecs import open
46
@@ -73,8 +67,16 @@
73
67
74
68
osx_sysroot = ''
75
69
70
+haveWheel = False
71
+
76
72
if platform == "linux" or platform == "linux2":
77
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
78
+ except ImportError:
79
+ print("Skipping wheel build; wheel not installed.")
80
elif platform == "darwin":
81
# OS X
82
dylibext = '.dylib'
0 commit comments