File: build_c_extensions.py

package info (click to toggle)
knot-resolver 6.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 16,384 kB
  • sloc: javascript: 42,732; ansic: 40,312; python: 12,616; cpp: 2,121; sh: 1,997; xml: 193; makefile: 186
file content (16 lines) | stat: -rw-r--r-- 432 bytes parent folder | download | duplicates (2)
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"],
                ),
            ]
        }
    )