-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (30 loc) · 760 Bytes
/
setup.py
File metadata and controls
32 lines (30 loc) · 760 Bytes
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
import os
from setuptools import setup, find_packages
import sys
sys.path.append(os.path.curdir)
PACKAGE_NAME = "episcalp"
with open(os.path.join("episcalp", "__init__.py"), "r") as fid:
for line in (line.strip() for line in fid):
if line.startswith("__version__"):
version = line.split("=")[1].strip().strip("'").strip('"')
break
if version is None:
raise RuntimeError("Could not determine version")
REQUIRED_PACKAGES = [
"numpy>=1.18",
"scipy>=1.1.0",
"pandas>=1.0.3",
"pybids>=0.10",
"pybv>=0.4.0",
"joblib>=0.15",
"matplotlib>=3.2.1",
"seaborn",
"mne>=0.22",
"mne-bids>=0.6",
"pyprep"
]
setup(
name=PACKAGE_NAME,
version=version,
packages=find_packages(),
)