-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (48 loc) · 1.73 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
import os
import re
from setuptools import setup, find_packages
def read_meta():
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'gtdb_itol_decorate/__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 f:
return f.read()
meta = read_meta()
setup(name=meta['title'],
version=meta['version'],
description=meta['description'],
long_description=readme(),
long_description_content_type='text/markdown',
author=meta['author'],
author_email=meta['author_email'],
url=meta['url'],
license=meta['license'],
project_urls={
'Bug Tracker': meta['bug_url'],
'Documentation': meta['doc_url'],
'Source Code': meta['src_url'],
},
entry_points={
'console_scripts': [
'gtdb_itol_decorate = gtdb_itol_decorate.__main__:app'
]
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Software Development',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
packages=find_packages(),
include_package_data=True,
install_requires=['tqdm>=4.35.0', 'gtdblib~=1.1.0', 'typer[all]', 'dendropy', 'seaborn'],
python_requires='>=3.8',
)