build: reworked with setuptools

Signed-off-by: Ray Kinsella <mdr@ashroe.eu>
This commit is contained in:
Ray Kinsella
2022-06-29 17:43:23 +01:00
parent 4c35df7239
commit b15106b88c
114 changed files with 65 additions and 54 deletions

17
pyproject.toml Normal file
View File

@ -0,0 +1,17 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "vppcfg"
version = "0.0.1"
dependencies = [
'requests',
'importlib-metadata; python_version<"3.8"',
]
[project.scripts]
vppcfg = "vppcfg:vppcfg.main"
[options]
include_package_data = true