-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
54 lines (50 loc) · 1.55 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
from setuptools import setup
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('mrestimator/_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 mrestimator/_version.py")
setup(
name='mrestimator',
version=verstr,
author='The Priesemann Group',
author_email='[email protected]',
packages=['mrestimator'],
url='https://github.com/Priesemann-Group/mrestimator',
license='BSD',
description='Toolbox for the Multistep Regression Estimator.',
long_description=long_description,
long_description_content_type='text/markdown',
# long_description='Toolbox for the Multistep Regression Estimator.',
python_requires='>=3.5.0',
install_requires=[
"numpy >= 1.11",
"scipy >= 1.0.0",
"matplotlib >= 1.5.3",
],
extras_require={
# we want to make matplotlib optional, too
'full': ["numba>=0.44", "tqdm"],
'numba': ["numba>=0.44"],
},
classifiers=[
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
]
)