-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.py
27 lines (23 loc) · 826 Bytes
/
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
#!/usr/bin/env python
import os
from os import path as op
from setuptools import setup
def package_tree(pkgroot):
"""Get the submodule list."""
# adapted from mne-python
path = os.path.dirname(__file__)
subdirs = [os.path.relpath(i[0], path).replace(os.path.sep, '.')
for i in os.walk(os.path.join(path, pkgroot))
if '__init__.py' in i[2]]
return sorted(subdirs)
setup(name='jumeg',
version='0.18',
description='MEG data analysis at FZJ',
url='http://github.com/jdammers/jumeg',
download_url='http://github.com/jdammers/jumeg',
author='Praveen Sripad',
author_email='pravsripad@gmail.com',
license='BSD (3-clause)',
packages=package_tree('jumeg'),
package_data={'jumeg': [op.join('data', '*')]},
zip_safe=False)