-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
39 lines (34 loc) · 1.2 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
import io
from distutils.util import convert_path
from setuptools import setup, find_packages
main_ns = {}
ver_path = convert_path('jagular/version.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
long_description = read('README.rst')
setup(
name='jagular',
version=main_ns['__version__'],
url='https://github.com/kemerelab/jagular/',
download_url = 'https://github.com/kemerelab/jagular/tarball/' + main_ns['__version__'],
license='MIT License',
author='Joshua Chu, Etienne Ackermann',
install_requires=['numpy>=1.9.0',
'scipy>=0.18.0' # sosfiltfilt
],
author_email='[email protected]',
description='Out-of-core pre-processing of big-ish electrophysiology data.',
long_description=long_description,
packages=find_packages(),
keywords = "electrophysiology neuroscience data analysis",
include_package_data=True,
platforms='any'
)