Make pure-python wheels and eggs possible (#467)

This commit is contained in:
Andrey Bienkowski 2021-02-27 01:50:24 +00:00 committed by GitHub
parent 44fd577705
commit 010de11bed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ else:
macros = [("__LITTLE_ENDIAN__", "1")]
ext_modules = []
if not PYPY and not PY2:
if not PYPY and not PY2 and not os.environ.get("MSGPACK_PUREPYTHON"):
ext_modules.append(
Extension(
"msgpack._cmsgpack",