Fix a few dependencies; clean up setup.py when moving to pyproject.toml
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
[project]
|
||||
name = "vppcfg"
|
||||
dynamic = ["version"]
|
||||
dependencies = [
|
||||
"requests",
|
||||
"importlib-metadata; python_version >= '3.8'",
|
||||
"yamale",
|
||||
"netaddr",
|
||||
"vpp_papi",
|
||||
]
|
||||
authors = [
|
||||
{ name="Pim van Pelt", email="pimg@ipng.ch" }
|
||||
]
|
||||
@@ -14,6 +21,9 @@ classifiers = [
|
||||
license = "Apache-2.0"
|
||||
license-files = ["LICENSE"]
|
||||
|
||||
[project.scripts]
|
||||
vppcfg = "vppcfg.vppcfg:main"
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://git.ipng.ch/ipng/vppcfg"
|
||||
|
||||
|
||||
14
setup.py
14
setup.py
@@ -9,21 +9,7 @@ with open(version_file) as f:
|
||||
exec(f.read())
|
||||
|
||||
setup(
|
||||
name="vppcfg",
|
||||
version=__version__,
|
||||
install_requires=[
|
||||
"requests",
|
||||
'importlib-metadata; python_version >= "3.8"',
|
||||
"yamale",
|
||||
"netaddr",
|
||||
"vpp_papi",
|
||||
],
|
||||
packages=["vppcfg", "vppcfg/config", "vppcfg/vpp"],
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"vppcfg = vppcfg.vppcfg:main",
|
||||
]
|
||||
},
|
||||
test_suite="vppcfg.config",
|
||||
package_data={"vppcfg": ["*.yaml"]},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user