summaryrefslogtreecommitdiffstats
path: root/build_c_extensions.py
blob: 40d281f5aeb07b1149a8cc0587d298793590a34d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"],
                ),
            ]
        }
    )