summaryrefslogtreecommitdiffstats
path: root/build_c_extensions.py
blob: 77c197a19d6186b119876d3d82de0e38405c3599 (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.controller.supervisord.plugin.notify",
                    sources=["python/knot_resolver/controller/supervisord/plugin/notifymodule.c"],
                ),
            ]
        }
    )