-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
61 lines (51 loc) · 1.87 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Author: Zhang Yunjun, Jan 2021
# Copyright 2020, by the California Institute of Technology.
# always prefer setuptools over distutils
import setuptools
from numpy.distutils.core import setup, Extension
# specify fortran extensions to build with numpy.f2py
solid_ext = Extension(name='pysolid.solid', sources=['src/pysolid/solid.for'])
setup(
name='pysolid',
version='0.2.0',
description="A Python wrapper for solid to compute solid Earth tides",
url="https://github.com/insarlab/PySolid",
author="Zhang Yunjun, Dennis Milbert",
author_email="yunjunzgeo@gmail.com",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="solid Eartth tides, deformation, geodesy, geophysics",
# package discovery
packages=setuptools.find_packages("src"), # include all packages under src
package_dir={"": "src"}, # tell distutils packages are under src
# build fortran deps with numpy.f2py
ext_modules=[solid_ext],
# dependencies
python_requires=">=3.6",
install_requires=[
'numpy',
'scipy',
'matplotlib',
'scikit-image',
],
# data files
include_package_data=True,
package_data={
"pysolid": ["solid.for"],
},
project_urls={
"Bug Reports": "https://github.com/insarlab/PySolid/issues",
"Source": "https://github.com/insarlab/PySolid",
},
)