-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
executable file
·36 lines (31 loc) · 1.11 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
#!/usr/bin/env python
from os.path import exists
from setuptools import setup
import versioneer
DISTNAME = 'xscale'
PACKAGES = ['xscale', 'xscale.filtering', 'xscale.signal', 'xscale.spectral']
TESTS = [p + '.tests' for p in PACKAGES]
INSTALL_REQUIRES = ['numpy >= 1.7', 'scipy >= 0.18.0', 'xarray >= 0.8.2',
'dask >= 0.12.0', 'numba >= 0.30.0', 'pandas >= 0.19.0']
TESTS_REQUIRE = ['pytest >= 2.7.1']
URL = 'http://github.com/serazing/xscale'
AUTHOR = 'Guillaume Serazin'
AUTHOR_EMAIL = 'guillaume.serazin@legos.obs-mip.fr'
LICENSE = 'Apache'
DESCRIPTION = 'Signal processing tools based on xarray and dask'
VERSION = versioneer.get_version()
CMDCLASS = versioneer.get_cmdclass()
setup(name=DISTNAME,
version=VERSION,
cmdclass=CMDCLASS,
description=DESCRIPTION,
url=URL,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license=LICENSE,
keywords='signal processing',
packages=PACKAGES + TESTS,
long_description=(open('README.rst').read() if exists('README.rst')
else ''),
install_requires=INSTALL_REQUIRES,
zip_safe=False)