-
Notifications
You must be signed in to change notification settings - Fork 63
/
setup.py
84 lines (75 loc) · 2.62 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/env python
# coding: utf-8
import os.path as osp
from setuptools import setup, find_packages
def get_version():
# From: https://github.com/facebookresearch/iopath/blob/master/setup.py
# Author: Facebook Research
init_py_path = osp.join(
osp.abspath(osp.dirname(__file__)), "graphgallery", "version.py"
)
init_py = open(init_py_path, "r").readlines()
version_line = [line.strip() for line in init_py if line.startswith("__version__")][
0
]
version = version_line.split("=")[-1].strip().strip("'\"")
return version
VERSION = get_version()
url = 'https://github.com/EdisonLeeeee/GraphGallery'
install_requires = [
# Do not add pytorch here. Users should install
# pytorch themselves, preferably by OS's package manager, or by
# choosing the proper pypi package name at
# pytorch: https://pytorch.org/
'tqdm',
'yacs',
'scipy',
'numpy',
'tabulate',
'pandas',
'scikit_learn>=0.21.0',
'networkx>=2.3',
'gensim>=3.8.0',
'numba>=0.46.0',
]
setup_requires = ['pytest-runner']
tests_require = ['pytest', 'pytest-cov']
setup(
name='graphgallery',
version=VERSION,
description='A Graph-based Model Gallery for Benchmarking Graph Neural Networks.',
author='Jintang Li',
author_email='[email protected]',
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
url=url,
download_url='{}/archive/{}.tar.gz'.format(url, VERSION),
keywords=[
'pytorch',
'benchmark',
'model-gallery',
'geometric-deep-learning',
'graph-neural-networks',
],
python_requires='>=3.6',
license="MIT LICENSE",
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
extras_require={'test': tests_require},
packages=find_packages(exclude=("examples", "imgs", "benchmark", "test")),
classifiers=[
'Development Status :: 3 - Alpha',
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Libraries',
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
)