pyacl/pyproject.toml
Georg Pfuetzenreuter 092156f3d5
Set license as dynamic
Needed for pyproject based build after setup.cfg introduced the license
field to avoid _MissingDynamic error.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-09-22 02:12:23 +02:00

55 lines
1.5 KiB
TOML

[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = 'pyacl'
description = 'High level abstractions over pylibacl'
dynamic = ['license', 'readme', 'version']
authors = [
{ name='Georg Pfuetzenreuter', email='georg+python@lysergic.dev' },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"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 = [
'pylibacl==0.5.4',
]
[project.optional-dependencies]
dev = [
"pytest",
"ruff",
"PyYAML"
]
[tool.setuptools]
include-package-data = true # include non-python files in the package (default)
[tool.setuptools.dynamic]
version = {attr = "pyacl.__version__"}
readme = {file = ["README.md"]}
[tool.setuptools.packages.find]
where = ["."]
exclude = ["scripts", "scripts.*", "docs.*", "tests", "tests.*", "ruff.toml"]