-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
52 lines (50 loc) · 1.63 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
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
import re
v_file="vase/version.py"
v_line = open(v_file, "rt").read()
v_re = r"^__version__ = ['\"]([^'\"]*)['\"]"
match = re.search(v_re, v_line, re.M)
if match:
verstr = match.group(1)
else:
raise RuntimeError("Unable to find version string in {}.".format(v_file))
test_requirements = ['nose', 'openpyxl']
setup(
name="vase",
packages=["vase"],
version=verstr,
description="Variant Annotation, Segregation and Exclusion",
author="David A. Parry",
author_email="[email protected]",
url="https://github.com/david-a-parry/vase",
download_url='https://github.com/david-a-parry/vase/archive/{}.tar.gz'.format(verstr),
license='MIT',
install_requires=[
'pysam>=0.17',
'natsort',
'numpy',
],
tests_require=test_requirements,
extras_require={
'BGZIP': ['biopython'],
'REPORTER': ['xlsxwriter', 'requests'],
'MYGENEINFO': ['mygene'],
'tests': test_requirements,
},
scripts=["bin/vase", "bin/burden_test_vase", "bin/vase_reporter",
"bin/coordinates_from_genes", "bin/filter_gts",
"bin/phase_by_transmission", "bin/remove_info_fields",
],
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"Development Status :: 3 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
)