Skip to content

Commit 7ee8aad

Browse files
committed
[#devel] Fixed version import
1 parent fbb98ef commit 7ee8aad

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

spectrally/__init__.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,21 @@
55
import warnings
66

77

8-
from .version import __version__
8+
# ###############
9+
# __version__
10+
# ###############
11+
12+
13+
from . import _version
14+
__version__ = _version.version
15+
__version_tuple__ = _version.version_tuple
16+
17+
18+
# ###############
19+
# sub-packages
20+
# ###############
21+
22+
923
from ._class02_SpectralFit import SpectralFit as Collection
1024
from ._saveload import load
1125
from ._class01_show import *
@@ -59,4 +73,4 @@
5973

6074

6175
# clean-up the mess
62-
del warnings, lsubout, sub, msg, _PKG
76+
del warnings, lsubout, sub, msg, _PKG

0 commit comments

Comments
 (0)