-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.py
68 lines (63 loc) · 1.89 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
# Copyright Contributors to the Pyro-Cov project.
# SPDX-License-Identifier: Apache-2.0
import re
import sys
from setuptools import find_packages, setup
with open("pyrocov/__init__.py") as f:
for line in f:
match = re.match('^__version__ = "(.*)"$', line)
if match:
__version__ = match.group(1)
break
try:
long_description = open("README.md", encoding="utf-8").read()
except Exception as e:
sys.stderr.write("Failed to read README.md: {}\n".format(e))
sys.stderr.flush()
long_description = ""
setup(
name="pyrocov",
version="0.1.0",
description="Pyro tools for Sars-CoV-2 analysis",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(include=["pyrocov"]),
url="http://pyro.ai",
author="Pyro team at the Broad Institute of MIT and Harvard",
author_email="[email protected]",
install_requires=[
"biopython>=1.54",
"pyro-ppl>=1.7",
"geopy",
"gpytorch",
"scikit-learn",
"umap-learn",
"mappy",
"protobuf>=3.12,<3.13", # pinned by usher
"tqdm",
"colorcet",
],
extras_require={
"test": [
"black",
"isort>=5.0",
"flake8",
"pytest>=5.0",
"pytest-xdist",
"mypy>=0.812",
"types-protobuf",
],
},
python_requires=">=3.6",
keywords="pyro pytorch phylogenetic machine learning",
license="Apache 2.0",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
)