-
Notifications
You must be signed in to change notification settings - Fork 160
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (28 loc) · 818 Bytes
/
setup.py
File metadata and controls
32 lines (28 loc) · 818 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
25
26
27
28
29
30
31
32
#!/usr/bin/env python
import os
from setuptools import find_packages, setup
version_globals = {}
with open("drakrun/version.py") as f:
exec(f.read(), version_globals)
version = version_globals["__version__"]
if os.getenv("DRAKRUN_VERSION_TAG"):
version = version + "+" + os.getenv("DRAKRUN_VERSION_TAG")
setup(
name="drakvuf-sandbox",
version=version,
description="DRAKRUN",
package_dir={"drakrun": "drakrun"},
packages=find_packages(),
include_package_data=True,
python_requires=">=3.9",
install_requires=open("requirements.txt").read().splitlines(),
entry_points={
"console_scripts": [
"drakrun = drakrun.cli:main",
]
},
classifiers=[
"Programming Language :: Python",
"Operating System :: OS Independent",
],
)