-
Notifications
You must be signed in to change notification settings - Fork 100
/
setup.py
66 lines (61 loc) · 2.47 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
"""Setup script for specparam."""
import os
from setuptools import setup, find_packages
# Get the current version number from inside the module
with open(os.path.join('specparam', 'version.py')) as version_file:
exec(version_file.read())
# Load the long description from the README
with open('README.rst') as readme_file:
long_description = readme_file.read()
# Load the required dependencies from the requirements file
with open("requirements.txt") as requirements_file:
install_requires = requirements_file.read().splitlines()
setup(
name = 'specparam',
version = __version__,
description = 'Spectral parameterization.',
long_description = long_description,
long_description_content_type = 'text/x-rst',
python_requires = '>=3.6',
author = 'The Voytek Lab',
author_email = 'voyteklab@gmail.com',
maintainer = 'Thomas Donoghue',
maintainer_email = 'tdonoghue.research@gmail.com',
url = 'https://github.com/fooof-tools/fooof',
packages = find_packages(),
license = 'Apache License, 2.0',
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: Apache Software License',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
],
platforms = 'any',
project_urls = {
'Documentation' : 'https://fooof-tools.github.io/fooof/',
'Bug Reports' : 'https://github.com/fooof-tools/fooof/issues',
'Source' : 'https://github.com/fooof-tools/fooof'
},
download_url = 'https://github.com/fooof-tools/fooof/releases',
keywords = ['neuroscience', 'neural oscillations', 'power spectra', '1/f', 'electrophysiology'],
install_requires = install_requires,
tests_require = ['pytest'],
extras_require = {
'plot' : ['matplotlib'],
'data' : ['pandas'],
'tests' : ['pytest'],
'all' : ['matplotlib', 'pandas', 'tqdm', 'pytest']
}
)