forked from fanzheng10/HiDeF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (46 loc) · 1.78 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
"""A package for building a hierarchy based on multiple partitions on graph nodes.
See:
https://github.com/fanzheng10/HiDeF
"""
from setuptools import setup, find_packages
from os import path
from io import open
import re
import pathlib
here = pathlib.Path(__file__).parent
install_requires = (here / "requirements.txt").read_text().splitlines()
with open(path.join('hidef', '__init__.py')) as ver_file:
for line in ver_file:
if line.startswith('__version__'):
version = re.sub("'", "", line[line.index("'"):])
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='hidef',
version=version,
description='A package for building a hierarchy based on multiple partitions on graph nodes.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/fanzheng10/HiDeF',
author='Fan Zheng, She Zhang',
author_email='[email protected]',
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
scripts=['hidef/hidef_finder.py'],
keywords='hierarchy tree DAG',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
python_requires='>=3.6, <4',
install_requires=install_requires,
project_urls={
'Bug Reports': 'https://github.com/fanzheng10/HiDeF/issues',
'Source': 'https://github.com/fanzheng10/HiDeF',
},
)