-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
47 lines (44 loc) · 1.24 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
from setuptools import setup, find_packages
import re
with open("README.md") as f:
readme = f.read()
# extract version
with open("mtrf/__init__.py") as file:
for line in file.readlines():
m = re.match("__version__ *= *['\"](.*)['\"]", line)
if m:
version = m.group(1)
setup(
name="mtrf",
version=version,
description="Tools for modeling brain responses using (multivariate)"
"temporal response functions.",
long_description=readme,
long_description_content_type="text/markdown",
url="http://github.com/powerfulbean/mTRFpy",
author="powerfulbean",
license="MIT",
python_requires=">=3.8",
install_requires=["numpy"],
extras_require={
"testing": [
"requests",
"flake8",
"black",
"pytest",
"tqdm",
"matplotlib",
"scipy",
"black",
],
"docs": ["sphinx", "sphinx_rtd_theme", "mne", "matplotlib"],
"full": ["mtrf[testing]", "mtrf[docs]"],
},
packages=find_packages(),
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)