-
Notifications
You must be signed in to change notification settings - Fork 131
/
setup.py
68 lines (62 loc) · 1.75 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
58
59
60
61
62
63
64
65
66
67
68
import setuptools
import os
import sys
if sys.version_info[:2] < (3, 8):
raise RuntimeError("Python version must be >=3.8.")
with open("./requirements.txt") as fd:
required = fd.read().splitlines()
with open("README.md", "r", encoding="utf-8") as fd:
long_description = fd.read()
extras = {}
extras["docs"] = [
"recommonmark",
"nbsphinx",
"sphinx",
"sphinx-autobuild",
"sphinx-rtd-theme",
"sphinx-markdown-tables",
"sphinx-copybutton"
]
extras["augly"] = ["augly==0.1.10"]
extras["textattack"] = ["textattack[tensorflow]"]
extras["art"] = ["adversarial-robustness-toolbox==1.12.1"]
extras["dev"] = (
extras["docs"] + extras["augly"] + extras["textattack"] + extras["art"]
)
setuptools.setup(
name="counterfit",
maintainer="Counterfit Developers",
version="1.1.0",
author="Azure Trustworthy Machine Learning",
description="Counterfit project to simulate attacks on ML systems",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Azure/counterfit",
classifiers=[
"Development Status :: development",
"Intended Audience :: security/ML/research",
"Programming Language :: Python :: 3.8+",
"Operating System :: OS Independent",
],
package_data={
"": ["*.yml", "*"],
},
packages=setuptools.find_namespace_packages(
exclude=[
"build",
"docs",
"dist",
"tests",
"infrastructure",
"examples"
]
),
install_requires=required,
python_requires=">=3.8",
extras_require=extras,
entry_points={
"console_scripts": [
"counterfit=examples.terminal.terminal:main"
],
},
)