-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
67 lines (60 loc) · 1.97 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
60
61
62
63
64
65
66
67
#!/usr/bin/env python
from os import path
import setuptools
def parse_requires():
requirements = []
with open('requirements.txt') as fh:
for line in fh:
req = line.strip()
if req.startswith("#"):
continue
req = req.split("#", maxsplit=1)[0].strip()
requirements.append(req)
return requirements
NAME = "XBrainLab"
DESCRIPTION = (
"XBrainLab is a EEG decoding toolbox with deep learning "
"dedicated to neuroscience discoveries."
)
AUTHOR = "CECNL"
AUTHOR_EMAIL = "cecnl@nctu.edu.tw"
LICENSE = "GNU General Public License v3.0"
URL = "https://github.com/CECNL/XBrainLab"
KEYWORDS = "neuroscience deep-learning brain-state-decoding EEG"
if __name__ == "__main__":
with open(path.join("README.md"), encoding="utf-8") as fh:
long_description = fh.read()
install_requires = parse_requires()
setuptools.setup(
name=NAME,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
entry_points={
'console_scripts': [
'XBrainLab=XBrainLab.ui:main'
]
},
url=URL,
install_requires=install_requires,
packages=setuptools.find_packages(),
use_scm_version=True,
classifiers=[
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved",
"Programming Language :: Python",
'Topic :: Software Development',
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
],
platforms="any",
python_requires=">=3.9",
keywords=KEYWORDS,
zip_safe=False,
)