forked from fooof-tools/fooof
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (56 loc) · 2.22 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
"""FOOOF setup script."""
import os
from setuptools import setup, find_packages
# Get the current version number from inside the module
with open(os.path.join('fooof', '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 = 'fooof',
version = __version__,
description = 'fitting oscillations & one-over f',
long_description = long_description,
python_requires = '>=3.6',
author = 'The Voytek Lab',
author_email = '[email protected]',
maintainer = 'Thomas Donoghue',
maintainer_email = '[email protected]',
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.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
],
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'],
'tests' : ['pytest'],
'all' : ['matplotlib', 'tqdm', 'pytest']
}
)