diff options
Diffstat (limited to 'build_c_extensions.py')
-rw-r--r-- | build_c_extensions.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/build_c_extensions.py b/build_c_extensions.py new file mode 100644 index 00000000..40d281f5 --- /dev/null +++ b/build_c_extensions.py @@ -0,0 +1,16 @@ +from typing import Any, Dict + +from setuptools import Extension + + +def build(setup_kwargs: Dict[Any, Any]) -> None: + setup_kwargs.update( + { + "ext_modules": [ + Extension( + name="knot_resolver_manager.kresd_controller.supervisord.plugin.notify", + sources=["manager/knot_resolver_manager/kresd_controller/supervisord/plugin/notifymodule.c"], + ), + ] + } + ) |