forked from AeroFlorian/netconf-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (21 loc) · 667 Bytes
/
setup.py
File metadata and controls
24 lines (21 loc) · 667 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import pathlib
from setuptools import setup, find_packages
# Read version from file
version_path = pathlib.Path(__file__).parent / "src" / "__version__.py"
version_ns = {}
exec(version_path.read_text(), version_ns)
setup(
name="netconfparser",
version=version_ns["__version__"],
packages=find_packages(where="src"),
package_dir={"": "src"},
description="A Netconf parsing utility",
author="Netconf parser team",
author_email="netconf_parser_team@no-reply.com",
python_requires=">=3.11",
entry_points={
"console_scripts": [
"netconfparser=netconfparser:main" # update with your actual main
]
},
)