forked from Priesemann-Group/covid19_inference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (31 loc) · 1.15 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
from setuptools import setup, find_namespace_packages
import re
# read the contents of your README file
from os import path
with open("README.md") as f:
long_description = f.read()
verstr = "unknown"
try:
verstrline = open("covid19_inference/_version.py", "rt").read()
except EnvironmentError:
pass
else:
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("unable to find version in covid19_inference/_version.py")
setup(
name="covid19_inference",
author="Jonas Dehning, Johannes Zierenberg, F. Paul Spitzner, Michael Wibral, Joao Pinheiro Neto, Michael Wilczek, Viola Priesemann",
author_email="jonas.dehning@ds.mpg.de",
packages=find_namespace_packages(),
url="https://github.com/Priesemann-Group/covid19_inference",
description="Toolbox for inference and forecast of the spread of the Coronavirus.",
long_description=long_description,
long_description_content_type="text/markdown",
python_requires=">=3.6.0",
version=verstr,
install_requires=["pymc3", "matplotlib", "numpy", "pandas", "theano",],
)