forked from counsyl/hgvs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (29 loc) · 1.05 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
#!/usr/bin/env python
from setuptools import setup
from pip.req import parse_requirements
import sys
description = ("This library provides a simple to use Python API for parsing, "
"formatting, and normalizing variant names specified in the "
"standard recommended by the Human Genome Variation Society "
"(HGVS).")
def main():
python_version = sys.version_info
if python_version < (2, 6):
print ("This library requires Python version >=2.6, "
"You have version %d.%d" % python_version[:2])
sys.exit(1)
setup(
name='hgvs',
version='0.8',
description='HGVS name parsing and formatting',
long_description=description,
author='Matt Rasmussen',
author_email='[email protected]',
packages=['hgvs', 'hgvs.tests'],
scripts=[],
tests_require=[str(line.req) for line in
parse_requirements('requirements-dev.txt')],
setup_requires=['nose==1.3.0'],
)
if __name__ == '__main__':
main()