forked from biocommons/hgvs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
91 lines (86 loc) · 3.12 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
from setuptools import setup, find_packages
from sys import version_info
short_description = "HGVS Parser, Formatter, Mapper, Validator"
with open("doc/description.txt") as f:
long_description = f.read()
if version_info < (3, ):
version_specific_requirements = ['unicodecsv']
else:
version_specific_requirements = []
setup(license="Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)",
long_description=long_description,
use_scm_version=True,
zip_safe=True,
author="HGVS Contributors",
author_email = '[email protected]',
description = short_description.replace("\n", " "),
name="hgvs",
package_data={"hgvs": ["_data/*"]},
packages=find_packages(),
url="https://github.com/biocommons/hgvs",
entry_points={
'console_scripts': [
'hgvs-shell = hgvs.shell:shell'
],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2",
"Programming Language :: Python",
"Topic :: Database :: Front-Ends",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
],
keywords=[
"bioinformatics",
"computational biology",
"genome variants",
"genome variation",
"genomic variants",
"genomic variation",
"genomics",
"hgvs",
],
install_requires=[
"attrs>=17.4.0", # https://github.com/biocommons/hgvs/issues/473
"biocommons.seqrepo",
"biopython==1.69", # 1.70 fails on rtd due to numpy absence
"bioutils>=0.2.2",
"configparser>=3.3.0",
"enum34",
"ipython<6", # for hgvs-shell; >=6 for Py3 only
"parsley",
"psycopg2-binary",
"six",
] + version_specific_requirements,
setup_requires=[
"pytest-runner",
"setuptools_scm==1.11.1", # bug in >1.13.1 https://github.com/pypa/setuptools_scm/issues/134
"wheel",
],
tests_require=[
"pytest",
"pytest-cov",
],
)
# <LICENSE>
# Copyright 2013-2015 HGVS Contributors (https://github.com/biocommons/hgvs)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# </LICENSE>