httpstan.build_ext

Lightly modified build_ext which captures stderr.

The customization of build_ext here is non-standard and confusing. It does, however, work.

isort:skip_file

Module Contents

Functions

run_build_ext(extensions: List[setuptools.Extension], build_lib: str) → str

Configure and call build_ext.run(), capturing stderr.

httpstan.build_ext.run_build_ext(extensions: List[setuptools.Extension], build_lib: str) str[source]

Configure and call build_ext.run(), capturing stderr.

Compiled extension module will be placed in build_lib.

All messages sent to stderr will be saved and returned. These messages are typically messages from the compiler or linker.