-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ben Mather
committed
Jun 23, 2017
1 parent
d5722f7
commit da42ed3
Showing
5 changed files
with
68 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
include README.md | ||
include MANIFEST.in | ||
include COPYING | ||
include COPYING.LESSER | ||
include src/* | ||
include stripy/__init__.py | ||
include stripy/_trimesh.py | ||
include stripy/_strimesh.py | ||
include stripy/cartesian.py | ||
include stripy/spherical.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
from numpy.distutils.core import setup, Extension | ||
|
||
# interface for Renka's algorithm 772 fortran code | ||
ext1 = Extension(name = '_stripack', | ||
ext1 = Extension(name = 'stripy._stripack', | ||
sources = ['src/stripack.pyf','src/stripack.f90']) | ||
ext2 = Extension(name = '_tripack', | ||
ext2 = Extension(name = 'stripy._tripack', | ||
sources = ['src/tripack.pyf', 'src/tripack.f90']) | ||
ext3 = Extension(name = '_srfpack', | ||
ext3 = Extension(name = 'stripy._srfpack', | ||
sources = ['src/srfpack.pyf', 'src/srfpack.f']) | ||
ext4 = Extension(name = '_ssrfpack', | ||
ext4 = Extension(name = 'stripy._ssrfpack', | ||
sources = ['src/ssrfpack.pyf', 'src/ssrfpack.f']) | ||
|
||
if __name__ == "__main__": | ||
setup(name = 'stripy', | ||
author = "LM", | ||
author = "Louis Moresi", | ||
author_email = "[email protected]", | ||
url = "https://github.com/University-of-Melbourne-Geodynamics/stripy", | ||
version = "0.1.1", | ||
version = "0.1.2", | ||
description = "Python interface to TRIPACK and STRIPACK fortran code for triangulation/interpolation in Cartesian coordinates and on a sphere", | ||
ext_modules = [ext1, ext2, ext3, ext4], | ||
packages = ['stripy'], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
from _strimesh import * | ||
from _trimesh import * | ||
""" | ||
Copyright 2017 Louis Moresi, Ben Mather | ||
Stripy is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or any later version. | ||
Stripy is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with Stripy. If not, see <http://www.gnu.org/licenses/>. | ||
""" | ||
|
||
from spherical import * | ||
from cartesian import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters