-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
59 lines (50 loc) · 1.91 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
import os
import os.path as op
import setuptools
def package_tree(pkgroot):
"""Get the submodule list (adapted from MNE/VisPy)."""
# Get all submodules based on their `__init__.py`
path = op.dirname(__file__)
subdirs = [op.relpath(i[0], path).replace(op.sep, '.')
for i in os.walk(op.join(path, pkgroot))
if '__init__.py' in i[2]]
return sorted(subdirs)
if __name__ == "__main__":
# Paste README as long description
with open('README.md', 'r', encoding='utf-8') as fh:
long_description = fh.read()
# Actual setup
setuptools.setup(
name='hu-neuro-pipeline',
author='Alexander Enge',
author_email='alexander.enge@hu-berlin.de',
description='Single trial EEG pipeline at the Abdel Rahman Lab for '
'Neurocognitive Psychology, Humboldt-Universität zu Berlin',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/alexenge/hu-neuro-pipeline',
project_urls={
'Issue trackers': 'https://github.com/alexenge/hu-neuro-pipeline/issues',
},
classifiers=[
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
packages=package_tree('pipeline'),
package_data={'pipeline.datasets': ['erpcore_manifest.csv',
'ucap_manifest.csv']},
install_requires=[
'chardet',
'joblib',
'matplotlib',
'mne>=0.24.0',
'pandas!=1.4.0',
'pooch>=1.5',
'scikit-learn'
],
python_requires='>=3.8',
)