-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
executable file
·42 lines (34 loc) · 1.21 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
# -*- coding: utf-8 -*-
"""
Created on Mon Feb 29 19:49:03 2016
@author: derrick
"""
from setuptools import setup, find_packages
import os
version_file = os.path.join('detex', 'version.py')
# --- get version
with open(version_file, 'r') as fi:
content = fi.read().split("=")[-1].strip()
__version__ = content.replace('"', "").replace("'", "")
with open(version_file) as vfopen:
__version__ = vfopen.read().strip()
setup(
name='detex',
version = __version__,
description = 'A package for performing subspace and correlation detections on seismic data',
url = 'https://github.com/d-chambers/detex',
author = 'Derrick Chambers',
author_email = '[email protected]',
license = 'MIT',
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Geo-scientists',
'Topic :: Earthquake detection',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7, 3.5',
],
keywords = 'seismology signal detection',
packages = find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires = ['obspy >= 1.0.0', 'numpy', 'pandas >= 0.17.0',
'scipy', 'matplotlib', 'glob2'],
)