Skip to content

Commit 872d400

Browse files
committed
Update version to 0.26.1 and migrate imports to SDyPy package
1 parent 8b7264b commit 872d400

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

pyEMA/__init__.py

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
1-
__version__ = "0.26"
1+
__version__ = "0.26.1"
22

3-
from .pyEMA import Model
4-
from .tools import *
3+
# from .pyEMA import Model
4+
# from .tools import *
5+
# from . import stabilization
6+
# from . import normal_modes
7+
# from . import pole_picking
58

6-
from . import stabilization
7-
from . import normal_modes
8-
from . import pole_picking
9+
# Importing code from SDyPy-EMA package where it is maintained
10+
from sdypy.EMA import Model
11+
from sdypy.EMA.tools import *
12+
from sdypy.EMA import stabilization
13+
from sdypy.EMA import normal_modes
14+
from sdypy.EMA import pole_picking
915

1016
# pyEMA moving to SDyPy warning
1117
import warnings
12-
warnings.warn('This is the last version of pyEMA and will not longer be maintained since it is moving to the SDyPy package. To use the latest code from SDyPy: `pip install sdypy` and `from sdypy import EMA`.')
18+
warnings.warn('The imported code is channeled from the SDyPy package. It is recommended to use the SDyPy package instead of pyEMA. To use the latest code from SDyPy: `pip install sdypy` and `from sdypy import EMA`.', DeprecationWarning)

requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ scipy>=1.1.0
55
pytest>=3.0.5
66
sphinx-rtd-theme
77
sphinx-copybutton
8-
sphinx-book-theme
8+
sphinx-book-theme
9+
sdypy-ema

0 commit comments

Comments
 (0)