-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
56 lines (50 loc) · 1.62 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
import re
from pathlib import Path
from setuptools import setup, find_packages
with open("README.md") as readme:
long_description = readme.read()
def get_version():
"""Get version number from __init__.py"""
version_file = Path(__file__).resolve().parent / "cblaster" / "__init__.py"
version_match = re.search(
r"^__version__ = ['\"]([^'\"]*)['\"]", version_file.read_text(), re.M
)
if version_match:
return version_match.group(1)
raise RuntimeError("Failed to find version string")
setup(
name="cblaster",
author="Cameron Gilchrist",
version=get_version(),
description="",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
url="https://github.com/gamcil/cblaster",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"License :: OSI Approved :: MIT License",
],
install_requires=[
"biopython",
"requests",
"numpy",
"scipy",
"PySimpleGUI",
"Biopython",
"clinker>=0.0.15",
"gffutils",
"appdirs",
"genomicsqlite;platform_machine != 'arm64'",
"defusedxml"
],
tests_require=["pytest", "pytest-cov", "pytest-mock", "requests-mock"],
python_requires=">=3.6",
entry_points={"console_scripts": ["cblaster=cblaster.main:main"]},
package_data={"cblaster": ["plot/*"]},
)