Compare commits

...

2 Commits

Author SHA1 Message Date
Pim van Pelt
852ada3904 Cut version 1.0.5 2025-11-09 05:25:28 +01:00
Pim van Pelt
b4652c6d93 Fix a few dependencies; clean up setup.py when moving to pyproject.toml 2025-11-09 05:24:29 +01:00
3 changed files with 11 additions and 15 deletions

View File

@@ -1,6 +1,13 @@
[project] [project]
name = "vppcfg" name = "vppcfg"
dynamic = ["version"] dynamic = ["version"]
dependencies = [
"requests",
"importlib-metadata; python_version >= '3.8'",
"yamale",
"netaddr",
"vpp_papi",
]
authors = [ authors = [
{ name="Pim van Pelt", email="pimg@ipng.ch" } { name="Pim van Pelt", email="pimg@ipng.ch" }
] ]
@@ -14,6 +21,9 @@ classifiers = [
license = "Apache-2.0" license = "Apache-2.0"
license-files = ["LICENSE"] license-files = ["LICENSE"]
[project.scripts]
vppcfg = "vppcfg.vppcfg:main"
[project.urls] [project.urls]
Homepage = "https://git.ipng.ch/ipng/vppcfg" Homepage = "https://git.ipng.ch/ipng/vppcfg"

View File

@@ -9,21 +9,7 @@ with open(version_file) as f:
exec(f.read()) exec(f.read())
setup( setup(
name="vppcfg",
version=__version__, version=__version__,
install_requires=[
"requests",
'importlib-metadata; python_version >= "3.8"',
"yamale",
"netaddr",
"vpp_papi",
],
packages=["vppcfg", "vppcfg/config", "vppcfg/vpp"], packages=["vppcfg", "vppcfg/config", "vppcfg/vpp"],
entry_points={
"console_scripts": [
"vppcfg = vppcfg.vppcfg:main",
]
},
test_suite="vppcfg.config",
package_data={"vppcfg": ["*.yaml"]}, package_data={"vppcfg": ["*.yaml"]},
) )

View File

@@ -1,3 +1,3 @@
"""Version information for vppcfg.""" """Version information for vppcfg."""
__version__ = "1.0.4" __version__ = "1.0.5"