import os
import sys

from setuptools import Extension, setup

NO_EXTENSIONS = (
    bool(os.environ.get("FROZENLIST_NO_EXTENSIONS"))
    or sys.implementation.name != "cpython"
)

if NO_EXTENSIONS:
    print("*********************")
    print("* Pure Python build *")
    print("*********************")
    ext_modules = None
else:
    print("**********************")
    print("* Accellerated build *")
    print("**********************")
    ext_modules = [Extension("frozenlist._frozenlist", ["frozenlist/_frozenlist.c"])]


setup(
    ext_modules=ext_modules,
)

@@ -350,33 +350,32 @@
 ****************
-*
 %22)%0A    print(%22* 
@@ -379,17 +379,16 @@
 %22* Accel
-l
 erated b
@@ -420,33 +420,32 @@
 ****************
-*
 %22)%0A    ext_modul

Fix typo (#307)