[seiscomp, scanloc] Install, add .gitignore
This commit is contained in:
10
lib/python/seiscomp3/Client.py
Normal file
10
lib/python/seiscomp3/Client.py
Normal file
@ -0,0 +1,10 @@
|
||||
from seiscomp.client import *
|
||||
from seiscomp.system import PluginRegistry
|
||||
|
||||
import seiscomp3.Logging
|
||||
import seiscomp3.Config
|
||||
import seiscomp3.Core
|
||||
import seiscomp3.DataModel
|
||||
import seiscomp3.IO
|
||||
import seiscomp3.Math
|
||||
import seiscomp3.Utils
|
1
lib/python/seiscomp3/Config.py
Normal file
1
lib/python/seiscomp3/Config.py
Normal file
@ -0,0 +1 @@
|
||||
from seiscomp.config import *
|
1
lib/python/seiscomp3/Core.py
Normal file
1
lib/python/seiscomp3/Core.py
Normal file
@ -0,0 +1 @@
|
||||
from seiscomp.core import *
|
6
lib/python/seiscomp3/DataModel.py
Normal file
6
lib/python/seiscomp3/DataModel.py
Normal file
@ -0,0 +1,6 @@
|
||||
from seiscomp.datamodel import *
|
||||
|
||||
import seiscomp3.IO
|
||||
import seiscomp3.Math
|
||||
import seiscomp3.Core
|
||||
|
4
lib/python/seiscomp3/Geo.py
Normal file
4
lib/python/seiscomp3/Geo.py
Normal file
@ -0,0 +1,4 @@
|
||||
from seiscomp.geo import *
|
||||
|
||||
import seiscomp3.Math
|
||||
import seiscomp3.Core
|
4
lib/python/seiscomp3/IO.py
Normal file
4
lib/python/seiscomp3/IO.py
Normal file
@ -0,0 +1,4 @@
|
||||
from seiscomp.io import *
|
||||
|
||||
import seiscomp3.Math
|
||||
import seiscomp3.Core
|
1
lib/python/seiscomp3/Kernel.py
Normal file
1
lib/python/seiscomp3/Kernel.py
Normal file
@ -0,0 +1 @@
|
||||
from seiscomp.kernel import *
|
1
lib/python/seiscomp3/Logging.py
Normal file
1
lib/python/seiscomp3/Logging.py
Normal file
@ -0,0 +1 @@
|
||||
from seiscomp.logging import *
|
3
lib/python/seiscomp3/Math.py
Normal file
3
lib/python/seiscomp3/Math.py
Normal file
@ -0,0 +1,3 @@
|
||||
from seiscomp.math import *
|
||||
|
||||
import seiscomp3.Core
|
7
lib/python/seiscomp3/Seismology.py
Normal file
7
lib/python/seiscomp3/Seismology.py
Normal file
@ -0,0 +1,7 @@
|
||||
from seiscomp.seismology import *
|
||||
|
||||
import seiscomp3.IO
|
||||
import seiscomp3.Math
|
||||
import seiscomp3.Core
|
||||
import seiscomp3.DataModel
|
||||
import seiscomp3.Config
|
1
lib/python/seiscomp3/Setup.py
Normal file
1
lib/python/seiscomp3/Setup.py
Normal file
@ -0,0 +1 @@
|
||||
from seiscomp.setup import *
|
1
lib/python/seiscomp3/Shell.py
Normal file
1
lib/python/seiscomp3/Shell.py
Normal file
@ -0,0 +1 @@
|
||||
from seiscomp.shell import *
|
4
lib/python/seiscomp3/System.py
Normal file
4
lib/python/seiscomp3/System.py
Normal file
@ -0,0 +1,4 @@
|
||||
from seiscomp.system import *
|
||||
|
||||
import seiscomp3.Core
|
||||
import seiscomp3.Config
|
1
lib/python/seiscomp3/Utils.py
Normal file
1
lib/python/seiscomp3/Utils.py
Normal file
@ -0,0 +1 @@
|
||||
from seiscomp.utils import *
|
19
lib/python/seiscomp3/__init__.py
Normal file
19
lib/python/seiscomp3/__init__.py
Normal file
@ -0,0 +1,19 @@
|
||||
import os
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
sys.setdlopenflags(os.RTLD_LAZY | os.RTLD_GLOBAL)
|
||||
|
||||
# Since Python 3.2 DeprecationWarnings are ignored by default. Since Python 3.7
|
||||
# DeprecationWarnings are shown when triggered directly by code in __main__.
|
||||
# We enable DeprecationWarnings again unless warning options have been specified on the
|
||||
# command-line, e.g., -Wignore.
|
||||
if not sys.warnoptions:
|
||||
warnings.simplefilter("default", category=DeprecationWarning)
|
||||
|
||||
warnings.warn(
|
||||
"The SeisComP3 python API compatibility layer is deprecated and will be removed "
|
||||
"with SeisComP 7. Change your imports from 'seiscomp3' to 'seiscomp'.",
|
||||
DeprecationWarning,
|
||||
2
|
||||
)
|
Reference in New Issue
Block a user