-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
66 lines (58 loc) · 2 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
import os
import re
from setuptools import setup, find_packages
def read_meta():
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'phylorank/__init__.py')
with open(path) as fh:
hits = re.findall(r'__(\w+)__ ?= ?["\'](.+)["\']\n', fh.read())
return {k: v for k, v in hits}
def readme():
with open('README.md') as fh:
return fh.read()
meta = read_meta()
setup(
author=meta['author'],
author_email=meta['author_email'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
data_files=[("", ["LICENSE"])],
description=meta['description'],
entry_points={
'console_scripts': [
'phylorank = phylorank.__main__:main'
]
},
install_requires=[
'biolib >= 0.1.0',
'numpy',
'matplotlib<3.5.0', # mpld3 doesn't support 3.5.0 yet as IndexFormatter was replaced with FuncFormatter
'dendropy>=4.1.0',
'scipy',
'mpld3>=0.5.2'
],
keywords='phylogenetics taxonomy relative evolutionary divergence tree '
'decorate decoration',
license=meta['license'],
long_description=readme(),
long_description_content_type='text/markdown',
name=meta['title'],
packages=find_packages(),
project_urls={
"Bug Tracker": "https://github.com/dparks1134/PhyloRank/issues",
"Documentation": "https://github.com/dparks1134/PhyloRank",
"Source Code": "https://github.com/dparks1134/PhyloRank",
},
python_requires='>=3.6',
url=meta['url'],
version=meta['version']
)