1#
2# Copyright (c) 2023 Nordic Semiconductor ASA
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7[build-system]
8requires = ['setuptools']
9build-backend = 'setuptools.build_meta'
10
11[project]
12name = 'zcbor'
13description = 'Code generation and validation using CDDL schemas'
14readme = 'README.md'
15license = {text = 'Apache'}
16requires-python = ">=3.8"
17classifiers = [
18	'Development Status :: 4 - Beta',
19	'Intended Audience :: Developers',
20	'License :: OSI Approved :: Apache Software License',
21	'Programming Language :: Python :: 3',
22	'Programming Language :: C',
23	'Topic :: File Formats :: JSON :: JSON Schema',
24	'Topic :: Software Development :: Build Tools',
25	'Topic :: Software Development :: Code Generators',
26]
27authors = [{name = 'Nordic Semiconductor ASA'}]
28maintainers = [{name = 'Øyvind Rønningstad', email = 'oyvind.ronningstad@nordicsemi.no'}]
29dynamic = ['dependencies', 'version']
30
31[project.urls]
32Homepage = 'https://github.com/NordicSemiconductor/zcbor'
33
34[project.scripts]
35zcbor = 'zcbor:main'
36
37[tool.setuptools]
38packages = ['zcbor', 'zcbor.src', 'zcbor.include', 'zcbor.zcbor']
39package-dir = {zcbor = '.'}
40
41[tool.setuptools.package-data]
42zcbor = ['src/*', 'include/*', 'zcbor/*']
43
44[tool.setuptools.dynamic]
45version = {file = 'zcbor/VERSION'}
46dependencies = {file = ['scripts/requirements-base.txt']}
47