Tools, scripts, apps and functions to run fast source and ground shaking estimation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.9 KiB

from __future__ import absolute_import, division, print_function
import os
import os.path as op
from setuptools import setup, find_packages
try:
import numpy
except ImportError:
class numpy():
def __init__(self):
pass
@classmethod
def get_include(self):
return ''
packname = 'siria'
version = '2022.05.30'
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def get_readme_paths():
paths = []
for (path, dirnames, filenames) in os.walk(
op.join(op.dirname(__file__), 'src')):
paths.extend(
[op.join(path.split('/', 1)[1], fn) for fn in filenames if
fn == 'README.md'])
return paths
entry_points = {
'console_scripts':
['mole = %s.apps.mole:main' % packname,
'ids = %s.apps.ids:main' % packname]}
setup(
name=packname,
version=version,
author='mmetz',
author_email='mmetz@gfz-potsdam.de',
description='Tools for Usage in EWRICA project',
long_description=read('README.md'),
license='GPLv3',
keywords=[
'geophysics, fast source inversion, shakemap generation'],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4',
install_requires=[],
extras_require={
'console_scripts': ['PyQt5']
},
packages=find_packages(),
entry_points=entry_points,
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Development Status :: 1 - Planning',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
'Operating System :: POSIX',
'Topic :: Scientific/Engineering'],
package_data={
packname: ['data/tsumaps_all_params.*',
'data/examples/*',
'data/faults/*'
] + get_readme_paths()}
)