2021-05-26 08:16:41 -04:00
|
|
|
import pathlib
|
2018-11-16 08:44:02 -05:00
|
|
|
import setuptools
|
|
|
|
|
|
2021-05-26 08:16:41 -04:00
|
|
|
p = pathlib.Path("README.md")
|
|
|
|
|
if p.exists():
|
|
|
|
|
long_description = p.read_text()
|
2020-08-07 15:25:17 -04:00
|
|
|
|
2018-11-16 08:44:02 -05:00
|
|
|
setuptools.setup(
|
|
|
|
|
name='libknot',
|
|
|
|
|
version='@PACKAGE_VERSION@',
|
|
|
|
|
description='Python bindings for libknot',
|
2021-05-26 08:16:41 -04:00
|
|
|
long_description=long_description,
|
2021-08-02 03:51:54 -04:00
|
|
|
long_description_content_type="text/markdown",
|
2023-08-10 11:53:32 -04:00
|
|
|
author='CZ.NIC, z.s.p.o.',
|
|
|
|
|
author_email='knot-dns@labs.nic.cz',
|
2023-08-23 11:25:55 -04:00
|
|
|
url='https://gitlab.nic.cz/knot/knot-dns/-/tree/master/python/libknot',
|
2025-03-21 10:51:10 -04:00
|
|
|
license='GPL-2.0-or-later',
|
2018-11-16 08:44:02 -05:00
|
|
|
packages=['libknot'],
|
|
|
|
|
classifiers=[ # See https://pypi.org/classifiers
|
|
|
|
|
'Development Status :: 5 - Production/Stable',
|
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
|
'Topic :: Internet :: Name Service (DNS)',
|
|
|
|
|
'Topic :: Software Development :: Libraries',
|
|
|
|
|
'Topic :: System :: Systems Administration',
|
2021-05-25 14:27:20 -04:00
|
|
|
],
|
|
|
|
|
python_requires='>=3.5',
|
2018-11-16 08:44:02 -05:00
|
|
|
)
|