summaryrefslogtreecommitdiffstats
path: root/build_c_extensions.py
diff options
context:
space:
mode:
authorAleš Mrázek <ales.mrazek@nic.cz>2024-07-12 10:12:36 +0200
committerAleš Mrázek <ales.mrazek@nic.cz>2024-08-26 14:28:10 +0200
commitb0b8b8bd00b270d0d8c14179bce38662223f51b9 (patch)
treeae4af4a7271bece14ab621f40d6e07ade5b633bd /build_c_extensions.py
parentmanager: scripts moved to the repository root (diff)
downloadknot-resolver-b0b8b8bd00b270d0d8c14179bce38662223f51b9.tar.xz
knot-resolver-b0b8b8bd00b270d0d8c14179bce38662223f51b9.zip
manager: poetry project moved to the repository root
Diffstat (limited to 'build_c_extensions.py')
-rw-r--r--build_c_extensions.py16
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"],
+ ),
+ ]
+ }
+ )