-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
30 lines (28 loc) · 1 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
import sys
try:
from skbuild import setup
import pybind11
except ImportError:
print(
"The preferred way to invoke 'setup.py' is via pip, as in 'pip "
"install .'. If you wish to run the setup script directly, you must "
"first install the build dependencies listed in pyproject.toml!",
file=sys.stderr,
)
raise
setup(
name="pyrtdd",
version="0.0.1",
author="Luca Scarabello, Mondaic Ltd.",
author_email="[email protected], [email protected]",
url="https://github.com/swiss-seismological-service/pyrtdd",
description="Double-difference earthquake relocation",
long_description="Python wrapper for the C++ double-difference relocation library from scrtdd",
packages=["pyrtdd", "pyrtdd.hdd"],
package_dir={"": "package/src"},
cmake_install_dir="package/src/pyrtdd",
include_package_data=True,
extras_require={"test": ["pytest"]},
install_requires=["numpy>=1.23.3", "obspy>=1.3.0"],
python_requires=">=3.8",
)