File: build_c_extensions.py

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