-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
73 lines (63 loc) · 1.77 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
# -*- coding: utf-8 -*-
"""htsget-compliance setup script
Example:
Install htsget-compliance::
$ python setup.py install
Attributes:
NAME (str): python package name
VERSION (str): python package version number
AUTHOR (str): python package author
EMAIL (str): author's contact email
install_requires (list): dependencies for this package
Todo:
"""
import codecs
import setuptools
NAME = "ga4gh-htsget-compliance"
VERSION = "1.0.0"
AUTHOR = "Jeremy Adams"
EMAIL = "[email protected]"
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(func)
with open("README.md", "r") as fh:
long_description = fh.read()
install_requires = [
'click',
'jsonschema',
'requests'
]
setuptools.setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
description="Reports web service compliance to GA4GH htsget specification",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ga4gh/htsget-compliance",
package_data={
'': [
'web/*/*',
'schemas/*',
'data/reads/*',
'data/variants/*'
]
},
packages=setuptools.find_packages(),
install_requires=install_requires,
entry_points='''
[console_scripts]
htsget-compliance=ga4gh.htsget.compliance.entrypoint:main
''',
classifiers=(
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Bio-Informatics"
),
)