-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsetup.py
More file actions
19 lines (19 loc) · 725 Bytes
/
setup.py
File metadata and controls
19 lines (19 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from numpy.distutils.core import setup, Extension
# -g compiles with debugging information.
# -O0 means compile with no optimization, try -O3 for blazing speed
compile_args = ['-O3']
ext = []
ext.append(Extension('DC3D',
sources = ['slippy/dc3d/DC3D.f',
'slippy/dc3d/DC3D.pyf'],
extra_compile_args=compile_args))
setup(
name='SlipPy',
packages=['slippy','slippy/dc3d'],
scripts=['exec/slippy','exec/plot_slippy'],
version='0.1.0',
description='module for inverting coseismic slip from GPS and InSAR data',
author='Trever Hines',
author_email='hinest@umich.edu',
url='https://github.com/treverhines/SlipPy',
ext_modules=ext)