-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
executable file
·54 lines (46 loc) · 1.49 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
#! /usr/bin/env python
import os
from setuptools import setup, find_packages
version = "0.1"
descr = """Methods for integrating LABSN with mne-python"""
DISTNAME = 'mnefun'
DESCRIPTION = descr
MAINTAINER = 'Eric Larson'
MAINTAINER_EMAIL = 'larsoner@uw.edu'
URL = 'http://github.com/LABSN/mnefun'
LICENSE = 'BSD (3-clause)'
DOWNLOAD_URL = 'http://github.com/LABSN/mnefun'
VERSION = version
if __name__ == "__main__":
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
with open('README.rst') as fid:
long_description = fid.read()
setup(
name=DISTNAME,
maintainer=MAINTAINER,
include_package_data=True,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
license=LICENSE,
url=URL,
version=VERSION,
download_url=DOWNLOAD_URL,
long_description=long_description,
zip_safe=False, # the package can run out of an .egg file
classifiers=[],
platforms='any',
install_requires=['mne', 'h5io'],
packages=find_packages(),
package_data={'mnefun': [
'run_sss.sh',
os.path.join('data', 'sss_cal.dat'),
os.path.join('data', 'ct_sparse.fif'),
os.path.join('data', 'canonical.yml'),
]},
entry_points={'console_scripts': [
'simulate_movement = mnefun.bin:simulate_movement',
'plot_chpi_snr = mnefun.bin:plot_chpi_snr',
'acq_qa = mnefun.bin:acq_qa',
]},
)