Georg Pfuetzenreuter
e46d3a0410
Unify capitalization with client library and align both setup configurations. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
56 lines
1.3 KiB
TOML
56 lines
1.3 KiB
TOML
[build-system]
|
|
requires = ['setuptools', 'wheel']
|
|
build-backend = 'setuptools.build_meta'
|
|
|
|
|
|
[project]
|
|
name = 'nftables_api-server'
|
|
description = 'RESTful HTTP API for nftables (Server)'
|
|
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',
|
|
'bcrypt',
|
|
'falcon',
|
|
# 'nftables', # cannot by managed by pip
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
'pytest',
|
|
'ruff',
|
|
]
|
|
|
|
[project.scripts]
|
|
nftables_api = 'nftables_api.server:server'
|
|
|
|
[tool.setuptools]
|
|
include-package-data = false
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = {attr = 'nftables_api.__version__'}
|
|
readme = {file = ['README.md']}
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ['.']
|