-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
44 lines (41 loc) · 1.65 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
#! /usr/bin/env python
from setuptools import setup
import codecs
import os
# get the version (don't import, so dependencies are not needed)
version = None
with open('mne_microstates.py') as fid:
for line in (line.strip() for line in fid):
if line.startswith('__version__'):
version = line.split('=')[1].strip().strip('\'')
break
if version is None:
raise RuntimeError('Could not determine version')
if __name__ == "__main__":
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
setup(
name='mne_microstates',
maintainer='Marijn van Vliet',
maintainer_email='[email protected]',
description=('Code for microstate analysis, in combination with '
'MNE-Python.'),
license='BSD-3',
url='https://github.com/wmvanvliet/mne_microstates',
version=version,
long_description=codecs.open('README.md', encoding='utf8').read(),
long_description_content_type='text/markdown',
classifiers=['Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved',
'Programming Language :: Python',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS'],
platforms='any',
py_modules=['mne_microstates'],
install_requires=['numpy', 'scipy', 'mne'],
)