forked from counsyl/hgvs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (35 loc) · 1.27 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
#!/usr/bin/env python
from setuptools import setup
from pip.req import parse_requirements
from pip.download import PipSession
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='pyhgvs',
version='0.9.4',
description='HGVS name parsing and formatting',
long_description=description,
author='Matt Rasmussen',
author_email='rasmus@counsyl.com',
packages=['pyhgvs', 'pyhgvs.tests'],
include_package_data=True,
package_data={
'': ['requirements-dev.txt'],
},
scripts=[],
install_requires=['pip>=1.2'],
tests_require=[str(line.req) for line in
parse_requirements('requirements-dev.txt',
session=PipSession())],
)
if __name__ == '__main__':
main()