-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
50 lines (45 loc) · 1.65 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
import os
import subprocess
from setuptools import find_packages, setup
# run "git tag <version>" and then "git push origin master <version> when releasing a package to PyPi
version = "0.2.5"
subprocess.run(['pip', 'install', 'install', 'Cython', 'datashader', 'scikit-image', 'tqdm', 'stopit', 'matplotlib',
'networkx', 'pillow', 'fa2', 'ffmpeg-python', 'pytest'])
keywords = ["data-science",
"machine-learning",
"networkx",
"graph",
"data-mining",
"attack",
"simulation",
"vulnerability",
"networks",
"epidemics",
"defense",
"graph-mining",
"diffusion",
"robustness",
"graph-attack",
"adversarial-attacks",
"network-attack",
"cascading-failures",
"netshield"]
cwd = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(cwd, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name="graph-tiger",
packages=find_packages(),
version=version,
license="MIT",
description="A general purpose library for graph vulnerability and robustness analysis.",
author="Scott Freitas",
author_email="[email protected]",
url="https://github.com/safreita1/TIGER",
download_url="https://github.com/safreita1/TIGER/archive/{}.tar.gz".format(version),
keywords=keywords,
classifiers=["Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8"],
)