forked from jodyphelan/TBProfiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (33 loc) · 986 Bytes
/
setup.py
File metadata and controls
37 lines (33 loc) · 986 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
36
37
import os
import setuptools
from glob import glob
version = [l.strip() for l in open("tbprofiler/__init__.py") if "version" in l][0].split('"')[1]
setuptools.setup(
name="tbprofiler",
version=version,
packages=["tbprofiler"],
license="GPLv3",
long_description="TBProfiler command line tool",
scripts= [
'tb-profiler',
'scripts/tb-profiler-tools'
],
data_files=[
(
'share/tbprofiler/tbdb',
[x for x in glob("db/tbdb/*") if not os.path.isdir(x)]
),
(
'share/tbprofiler/tbdb/snpeff',
[x for x in glob("db/tbdb/snpeff/*") if not os.path.isdir(x)]
),
(
'share/tbprofiler/tbdb/snpeff/data/Mycobacterium_tuberculosis_h37rv',
[x for x in glob("db/tbdb/snpeff/data/Mycobacterium_tuberculosis_h37rv/*") if not os.path.isdir(x)]
),
(
'share/tbprofiler/',
[x for x in glob("db/*docx") if not os.path.isdir(x)]
)
],
)