-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
35 lines (31 loc) · 979 Bytes
/
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
"""
"""
import os
import re
import setuptools
from pathlib import Path
p = Path(__file__)
def get_version(package):
"""
Return package version as listed in `__version__` in `init.py`.
"""
init_py = open(os.path.join(package, '__init__.py')).read()
return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
version = get_version('sequential_graph_generation')
setuptools.setup(
name="sequential_graph_generation",
version=version,
python_requires='>3.6.5',
author="Koji Ono",
author_email="kbu94982@gmail.com",
description="Please see https://arxiv.org/abs/1803.03324",
long_description=(p.parent / 'README.md').open(encoding='utf-8').read(),
packages=setuptools.find_packages(),
install_requires=['h5py', 'tqdm'
],
setup_requires=['numpy', 'pytest-runner'],
tests_require=['pytest-cov', 'pytest-html', 'pytest'],
classifiers=[
'Programming Language :: Python :: 3.6',
],
)