-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
38 lines (35 loc) · 1 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
from setuptools import find_packages, setup
with open("README.md", "r") as f:
long_description = f.read()
install_requires = [
"numpy",
"adversarial-robustness-toolbox",
"gymnasium",
]
torch_requires = ["torch", "torchvision"]
tf_requires = ["tensorflow", "h5py"]
dev_requires = ["pytest", "tox"]
all_requires = torch_requires + tf_requires + dev_requires
setup(
name="ares",
version="0.1.0",
description="A System-Oriented Wargame Framework for Adversarial ML",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
url="https://github.com/Ethos-lab/ares",
install_requires=install_requires,
extras_require={
"pytorch": torch_requires,
"tensorflow": tf_requires,
"dev": dev_requires,
"all": all_requires,
},
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
entry_points={
"console_scripts": [
"ares=ares:main",
]
},
)