falconry / falcon

The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.
https://falcon.readthedocs.io/en/stable/
Apache License 2.0
9.51k stars 937 forks source link

Modernize setup.py to avoid custom built_ext subclass #2237

Closed CaselIT closed 2 months ago

CaselIT commented 2 months ago

setuptools a while ago introduced an optional flag that makes the build continue if a cython compilation fails. this removes the need for having a custom build subclass.

Example of change done in sqlalchemy: https://github.com/sqlalchemy/sqlalchemy/commit/282d86d1086b0aaaa0cc1a6eede922ce8214e8d0