-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (54 loc) · 1.5 KB
/
setup.py
File metadata and controls
59 lines (54 loc) · 1.5 KB
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
import setuptools
import os
NAME = "refget-cloud"
VERSION = "0.3.1"
AUTHOR = "Jeremy Adams"
EMAIL = "jeremy.adams@ga4gh.org"
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
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 = [
'certifi',
'chardet',
'click',
'idna',
'requests',
'tornado',
'urllib3'
]
os.chdir("lib")
setuptools.setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
description="Run GA4GH Refget service in multiple cloud environments and "
+ "architectures",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ga4gh/refget-cloud",
package_data={'': ['web/*/*', 'schemas/*']},
packages=setuptools.find_packages(),
install_requires=install_requires,
entry_points={
'console_scripts': [
'refget-server = ga4gh.refget.server.server:run_server'
]
},
classifiers=(
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Bio-Informatics"
),
)