-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (32 loc) · 1018 Bytes
/
Copy pathsetup.py
File metadata and controls
35 lines (32 loc) · 1018 Bytes
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
import re
from pathlib import Path
from setuptools import setup, find_packages
# Single source of truth: vfam_trees/__init__.py
_init = Path(__file__).parent / "vfam_trees" / "__init__.py"
_m = re.search(r'^__version__\s*=\s*"([^"]+)"', _init.read_text(), re.M)
if not _m:
raise RuntimeError(f"Could not find __version__ in {_init}")
VERSION = _m.group(1)
setup(
name="vfam_trees",
version=VERSION,
packages=find_packages(),
# Bundled curated Pfam-A profiles for HMM marker identification, shipped as
# per-family directories (vfam_trees/data/hmms/<Family>/*.hmm). CC0-licensed.
include_package_data=True,
package_data={"vfam_trees": ["data/hmms/*/*.hmm"]},
install_requires=[
"biopython>=1.81",
"click>=8.1",
"pyyaml>=6.0",
"snakemake>=7.0",
"requests>=2.31",
"matplotlib>=3.9",
],
entry_points={
"console_scripts": [
"vfam_trees=vfam_trees.cli:main",
],
},
python_requires=">=3.9",
)