--- setup.py.orig 2019-07-25 12:55:13.000000000 +0300 +++ setup.py 2019-07-25 12:57:04.000000000 +0300 @@ -7,11 +7,6 @@ from setuptools import Extension from setuptools import setup -try: - from wheel.bdist_wheel import bdist_wheel -except ImportError: - bdist_wheel = object - def get_arch(): if sys.maxsize > 2**32: @@ -222,21 +217,6 @@ extensions = [Extension("pymunk.chipmunk", sources)] -class bdist_wheel_universal_extension(bdist_wheel): - """ - bdist_wheel give overly strict tags for python packages that uses native - dynamic linked library called from cffi at runtime. - - References - https://www.python.org/dev/peps/pep-0491/ - https://www.python.org/dev/peps/pep-0427/ - https://www.python.org/dev/peps/pep-0425/ - https://github.com/getsentry/milksnake - """ - def get_tag(self): - rv = bdist_wheel.get_tag(self) - return ('py2.py3', 'none',) + rv[2:] - setup( name = 'pymunk', url = 'http://www.pymunk.org', @@ -251,7 +231,6 @@ classifiers = classifiers, cmdclass = { 'build_ext': build_chipmunk, - 'bdist_wheel': bdist_wheel_universal_extension }, install_requires = ['cffi'], extras_require = {'dev': ['pyglet','pygame','sphinx']},