##// END OF EJS Templates
fix missing-wheel command...
MinRK -
Show More
@@ -570,8 +570,19 b' def get_bdist_wheel():'
570 Constructs py2-none-any tag, instead of py2.7-none-any
570 Constructs py2-none-any tag, instead of py2.7-none-any
571 """
571 """
572 class RequiresWheel(Command):
572 class RequiresWheel(Command):
573 description = "Dummy command for missing bdist_wheel"
574 user_options = []
575
576 def initialize_options(self):
577 pass
578
579 def finalize_options(self):
580 pass
581
573 def run(self):
582 def run(self):
574 print("bdist_wheel requires the wheel package")
583 print("bdist_wheel requires the wheel package")
584 sys.exit(1)
585
575 if 'setuptools' not in sys.modules:
586 if 'setuptools' not in sys.modules:
576 return RequiresWheel
587 return RequiresWheel
577 else:
588 else:
General Comments 0
You need to be logged in to leave comments. Login now