-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
67 lines (58 loc) · 2.28 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
62
63
64
65
66
67
"""A setuptools based setup module."""
from setuptools import setup, find_packages
def parse_meta(path_to_meta):
with open(path_to_meta) as f:
meta = {}
for line in f.readlines():
if line.startswith("__version__"):
meta["__version__"] = line.split('"')[1]
return meta
meta = parse_meta("swprocess/meta.py")
with open('README.md', encoding="utf8") as f:
long_description = f.read()
long_description.replace("nz_wghs_rayleigh_masw_int-trim.gif",
"nz_wghs_rayleigh_masw_int-trim.png")
setup(
name='swprocess',
version=meta['__version__'],
description='Package for Surface Wave Processing',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/jpvantassel/swprocess',
author='Joseph P. Vantassel',
author_email='[email protected]',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Topic :: Education',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Physics',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
keywords='surface-wave dispersion processing geopsy active passive masw mam',
packages=find_packages(),
python_requires='>=3.8',
install_requires=["numpy", "scipy", "matplotlib",
"obspy", "sigpropy>=1.0.0", "pandas",
"swprepost", "PyQt5"],
extras_require={
'dev': ['coverage', 'tox', 'sphinx', 'sphinx_rtd_theme', 'jupyterlab'],
},
package_data={
},
data_files=[
],
entry_points={
},
project_urls={
'Bug Reports': 'https://github.com/jpvantassel/swprocess/issues',
'Source': 'https://github.com/jpvantassel/swprocess',
'Docs': 'https://swprocess.readthedocs.io/en/latest/?badge=latest',
},
)