Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (52 loc) · 1.74 KB
/
Copy pathsetup.py
File metadata and controls
55 lines (52 loc) · 1.74 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
import re
from pathlib import Path
from setuptools import find_packages, setup
# Single version source: src/DupCaller_sub/__init__.py (also written to
# every _call_params.log and _estimate_params.log).
VERSION = re.search(
r'^__version__ = "([^"]+)"',
(Path(__file__).parent / "src" / "DupCaller_sub" / "__init__.py").read_text(),
re.M,
).group(1)
setup(
name="DupCaller",
version=VERSION,
description="A variant caller for barcoded DNA sequencing",
url="https://github.com/AlexandrovLab/DupCaller",
author="Yuhe Cheng",
author_email="yuc211@ucsd.edu",
scripts=["src/DupCaller.py"],
# src/ERROR (bundled fallback_latest.* error profiles) ships as the
# data-only DupCaller_sub.ERROR package.
package_dir={"": "src", "DupCaller_sub.ERROR": "src/ERROR"},
packages=find_packages(where="src") + ["DupCaller_sub.ERROR"],
# DupCaller_sub.PERF is a vendored copy of PERF (https://github.com/rkmlab/perf,
# MIT license, see src/DupCaller_sub/PERF/LICENSE); its lib/ assets are
# needed for PERF's HTML report (-a).
package_data={
"DupCaller_sub.ERROR": ["fallback_latest.*.txt"],
"DupCaller_sub.PERF": [
"LICENSE",
"README.md",
"all_repeats_1-6nt.txt",
"lib/*.html",
"lib/src/*.js",
"lib/styles/*.css",
],
},
entry_points={"console_scripts": ["PERF=DupCaller_sub.PERF.core:main"]},
install_requires=[
"biopython==1.85",
"pysam==0.23.3",
"numpy==2.3.4",
"matplotlib==3.10.7",
"scipy==1.16.2",
"pandas==2.3.3",
"h5py==3.15.0",
"sigProfilerPlotting==1.4.3",
"tqdm>=4",
],
extras_require={
"test": ["pytest"],
},
)