forked from mims-harvard/TxGNN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (32 loc) · 1.13 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
from setuptools import find_packages, setup
# read the contents of README file
from os import path
from io import open # for Python 2 and 3 compatibility
# get __version__ from _version.py
ver_file = path.join('txgnn', 'version.py')
with open(ver_file) as f:
exec(f.read())
this_directory = path.abspath(path.dirname(__file__))
# read the contents of README.md
def readme():
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
return f.read()
# read the contents of requirements.txt
with open(path.join(this_directory, 'requirements.txt'),
encoding='utf-8') as f:
requirements = f.read().splitlines()
setup(name='TxGNN',
version=__version__,
license='MIT',
description='TxGNN',
long_description=readme(),
long_description_content_type='text/markdown',
url='https://github.com/mims-harvard/TxGNN',
author='TxGNN Team',
author_email='[email protected]',
packages=find_packages(exclude=['test']),
zip_safe=False,
include_package_data=True,
install_requires=requirements,
setup_requires=['setuptools>=38.6.0']
)