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.
2 parents add715c + 9b27e3c commit 79c4413Copy full SHA for 79c4413
setup.py
@@ -392,6 +392,20 @@ def run(self):
392
'build': build,
393
'sdist': CheckSDist}
394
395
+try:
396
+ from wheel.bdist_wheel import bdist_wheel
397
+
398
+ class BdistWheel(bdist_wheel):
399
+ def get_tag(self):
400
+ tag = bdist_wheel.get_tag(self)
401
+ repl = 'macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64'
402
+ if tag[2] == 'macosx_10_6_intel':
403
+ tag = (tag[0], tag[1], repl)
404
+ return tag
405
+ cmdclass['bdist_wheel'] = BdistWheel
406
+except ImportError:
407
+ pass
408
409
if cython:
410
suffix = '.pyx'
411
cmdclass['build_ext'] = CheckingBuildExt
0 commit comments