-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
37 lines (33 loc) · 1.69 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
#!/usr/bin/env python
"""
AIMBAT: Automated and Interactive Measurement of Body-wave Arrival Times.
AIMBAT is an open-source software package for efficiently measuring teleseismic
body wave arrival times for large seismic arrays (Lou et al., 2013). It is
based on a widely used method called MCCC (multi-channel cross-correlation)
developed by VanDecar and Crosson (1990). The package is automated in the
sense of initially aligning seismograms for MCCC which is achieved by an
ICCS (iterative cross-correlation and stack) algorithm. Meanwhile, a
graphical user interface is built to perform seismogram quality control
interactively. Therefore, user processing time is reduced while valuable
input from a user\'s expertise is retained. As a byproduct, SAC (Goldstein
et al., 2003) plotting and phase picking functionalities are replicated
and enhanced.
"""
from numpy.distutils.core import setup, Extension
doclines = __doc__.split("\n")
version = open('Version.txt').read().split()[0]
setup(name='pysmo.aimbat_qt',
version=version,
description=doclines[0],
author='Arnav Sankaran',
author_email='[email protected]',
package_dir={'pysmo.aimbat_qt': 'src/pysmo/aimbat', 'pysmo':'src/pysmo'},
packages=['pysmo.aimbat_qt', 'pysmo'],
url='http://www.earth.northwestern.edu/~xlou/aimbat.html',
ext_package='pysmo.aimbat_qt',
ext_modules=[Extension('xcorrf90', ['src/pysmo/aimbat/xcorr.f90'])],
package_data={'pysmo.aimbat_qt': ['ttdefaults.conf', 'stationmapper.sh', 'stationmapper.bat', 'Readme.md', 'Version.txt', 'License.txt', 'Changelog.txt']},
long_description="\n".join(doclines[2:]),
license='GNU General Public License, Version 3 (GPLv3)',
platforms=['Mac OS X', 'Linux/Unix', 'Windows']
)