-
Notifications
You must be signed in to change notification settings - Fork 115
/
setup.py
76 lines (69 loc) · 1.89 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
68
69
70
71
72
73
74
75
76
#! /usr/bin/env python
#
# Copyright (C) 2018 Raphael Vallat
DESCRIPTION = "YASA: Analysis of polysomnography recordings."
LONG_DESCRIPTION = """YASA (Yet Another Spindle Algorithm) : an open-source Python package to analyze polysomnographic sleep recordings.
"""
DISTNAME = "yasa"
MAINTAINER = "Raphael Vallat"
MAINTAINER_EMAIL = "raphaelvallat9@gmail.com"
URL = "https://github.com/raphaelvallat/yasa/"
LICENSE = "BSD (3-clause)"
DOWNLOAD_URL = "https://github.com/raphaelvallat/yasa/"
VERSION = "0.6.5"
PACKAGE_DATA = {"yasa.data.icons": ["*.svg"]}
INSTALL_REQUIRES = [
"numpy>=1.18.1",
"scipy",
"pandas",
"matplotlib",
"seaborn",
"mne>=1.3",
"numba>=0.57.1",
"antropy",
"scikit-learn",
"tensorpac>=0.6.5",
"pyriemann>=0.2.7",
"sleepecg>=0.5.0",
"lspopt",
"ipywidgets",
"joblib",
"lightgbm",
]
PACKAGES = [
"yasa",
]
CLASSIFIERS = [
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if __name__ == "__main__":
setup(
name=DISTNAME,
author=MAINTAINER,
author_email=MAINTAINER_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
license=LICENSE,
url=URL,
version=VERSION,
download_url=DOWNLOAD_URL,
install_requires=INSTALL_REQUIRES,
include_package_data=True,
packages=PACKAGES,
package_data=PACKAGE_DATA,
classifiers=CLASSIFIERS,
)