--- setup.py.orig 2019-07-25 12:55:13.000000000 +0300
+++ setup.py 2019-07-25 12:57:04.000000000 +0300
from setuptools import Extension
from setuptools import setup
- from wheel.bdist_wheel import bdist_wheel
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.
- 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
- rv = bdist_wheel.get_tag(self)
- return ('py2.py3', 'none',) + rv[2:]
url = 'http://www.pymunk.org',
classifiers = classifiers,
'build_ext': build_chipmunk,
- 'bdist_wheel': bdist_wheel_universal_extension
install_requires = ['cffi'],
extras_require = {'dev': ['pyglet','pygame','sphinx']},