File: setup.py.in

package info (click to toggle)
knot 3.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,804 kB
  • sloc: ansic: 153,806; sh: 5,822; python: 1,141; makefile: 817
file content (36 lines) | stat: -rw-r--r-- 1,122 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import pathlib
import setuptools

p = pathlib.Path("README.md")
if p.exists():
    long_description = p.read_text()

setuptools.setup(
    name='knot_exporter',
    version='@PACKAGE_VERSION@',
    description='Prometheus exporter for Knot DNS',
    long_description=long_description,
    long_description_content_type="text/markdown",
    author='CZ.NIC, z.s.p.o.',
    author_email='knot-dns@labs.nic.cz',
    url='https://gitlab.nic.cz/knot/knot-dns/-/tree/master/python/knot_exporter',
    license='GPL-2.0-or-later',
    packages=['knot_exporter'],
    classifiers=[ # See https://pypi.org/classifiers
        'Development Status :: 5 - Production/Stable',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: Name Service (DNS)',
        'Topic :: System :: Systems Administration',
    ],
    python_requires='>=3.5',
    install_requires=[
        'libknot<@KNOT_VERSION_MAJOR@.@KNOT_VERSION_MINOR@.99',
        'prometheus-client',
        'psutil',
    ],
    entry_points={
        'console_scripts': [
            'knot-exporter = knot_exporter.knot_exporter:main',
        ],
    },
)