-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
68 lines (61 loc) · 1.92 KB
/
setup.py
File metadata and controls
68 lines (61 loc) · 1.92 KB
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
67
68
"""Setup script for strvcf_annotator."""
import re
from pathlib import Path
from setuptools import find_packages, setup
with open("README.rst") as readme_file:
readme = readme_file.read()
# Read version from __init__.py
init_file = Path(__file__).parent / "src" / "strvcf_annotator" / "__init__.py"
with open(init_file) as f:
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", f.read(), re.M)
if version_match:
version = version_match.group(1)
else:
raise RuntimeError("Unable to find version string.")
requirements = [
"pysam>=0.22.0",
"pandas>=2.0.0",
"trtools>=5.0.0",
"psutil",
]
test_requirements = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
]
setup(
author="Olesia Kondrateva",
author_email="xkdnoa@gmail.com",
python_requires=">=3.8",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
description="STR annotation tool for VCF files",
entry_points={
"console_scripts": [
"strvcf-annotator=strvcf_annotator.cli:main",
],
},
install_requires=requirements,
license="MIT",
long_description=readme,
include_package_data=True,
keywords="strvcf_annotator",
name="strvcf_annotator",
packages=find_packages(where="src"),
package_dir={"": "src"},
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/acg-team/strvcf_annotator",
version=version,
zip_safe=False,
)