edgewall / genshi

Python toolkit for generation of output for the web
http://genshi.edgewall.org
Other
86 stars 35 forks source link

Rewrite speedups extension compilation in setup.py #36

Closed hodgestar closed 3 years ago

hodgestar commented 3 years ago

Recent versions of setuptools removed the "Feature' feature again -- https://github.com/pypa/setuptools/issues/2017.

This means we'll need to re-write our setup.py extension building to avoid the use of "Feature". An example of how to do this is shown in https://github.com/pallets/markupsafe/pull/24. We probably want to extend that by providing an environment variable to allow those building Genshi to manually turn speedup compilation on or off.