-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
57 lines (51 loc) · 1.57 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
from pathlib import Path
from setuptools import find_packages, setup
README = (Path(__file__).parent / "README.md").read_text()
REQUIRES = [
"click>=7.1.1,<8.1.0",
"requests>=2.20.0",
"python-dotenv",
"pyyaml>=5.3,<7.0",
"Jinja2>=2.10.3,<3.1.0",
"rich==10.16.2",
"jsonschema==4.3.3",
]
def get_version():
global_vars = {}
exec(Path("src/evengsdk/cli/version.py").read_text(), global_vars)
return global_vars["__version__"]
setup(
name="eve-ng",
keywords=["eve-ng", "eveng", "unetlab", "evengsdk"],
license="MIT license",
version=get_version(),
author="Tafsir Thiam",
author_email="[email protected]",
python_requires=">=3.7",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
description=(
"Python SDK and command line utilities to work with the EVE-NG REST API"
),
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/ttafsir/evengsdk",
packages=find_packages("src"),
package_dir={"": "src"},
install_requires=REQUIRES,
entry_points={
"console_scripts": [
"eve-ng=evengsdk.cli.cli:main",
"eveng=evengsdk.cli.cli:main",
],
},
include_package_data=True,
)