2024-09-28 21:09:09 +02:00
|
|
|
[build-system]
|
|
|
|
requires = ['setuptools', 'wheel']
|
|
|
|
build-backend = 'setuptools.build_meta'
|
|
|
|
|
|
|
|
|
|
|
|
[project]
|
2024-09-29 02:23:30 +02:00
|
|
|
name = 'nftables_api-server'
|
|
|
|
description = 'RESTful HTTP API for nftables (server)'
|
2024-09-28 21:09:09 +02:00
|
|
|
dynamic = ['license', 'readme', 'version']
|
|
|
|
authors = [
|
|
|
|
{ name='Georg Pfuetzenreuter', email='georg+python@lysergic.dev' },
|
|
|
|
]
|
|
|
|
classifiers = [
|
|
|
|
'Development Status :: 3 - Alpha',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
'Programming Language :: Python :: 3.7',
|
|
|
|
'Programming Language :: Python :: 3.8',
|
|
|
|
'Programming Language :: Python :: 3.9',
|
|
|
|
'Programming Language :: Python :: 3.10',
|
|
|
|
'Programming Language :: Python :: 3.11',
|
|
|
|
'Programming Language :: Python :: 3.12',
|
|
|
|
'Topic :: Software Development',
|
|
|
|
'Typing :: Typed',
|
|
|
|
'Operating System :: POSIX :: Linux',
|
|
|
|
]
|
|
|
|
requires-python = '>=3.6'
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
'PyYAML',
|
2024-09-29 02:23:30 +02:00
|
|
|
'bcrypt',
|
|
|
|
'falcon',
|
2024-09-28 21:09:09 +02:00
|
|
|
# 'nftables', # cannot by managed by pip
|
|
|
|
]
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
dev = [
|
|
|
|
'pytest',
|
|
|
|
'ruff',
|
|
|
|
]
|
|
|
|
|
2024-09-29 02:23:30 +02:00
|
|
|
[project.scripts]
|
|
|
|
nftables_api = 'nftables_api.server:server'
|
|
|
|
|
2024-09-28 21:09:09 +02:00
|
|
|
[tool.setuptools]
|
|
|
|
include-package-data = false
|
|
|
|
|
|
|
|
[tool.setuptools.dynamic]
|
|
|
|
version = {attr = 'nftables_api.__version__'}
|
|
|
|
readme = {file = ['README.md']}
|
|
|
|
|
|
|
|
[tool.setuptools.packages.find]
|
|
|
|
where = ['.']
|