diff --git a/Makefile b/Makefile index a3d284a..1a49fa5 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,11 @@ devel: venv pybinding wx @$(INSIDE_VENV) pip install -e src/ +light: VENV_PATH = ./_venv +light: venv + @$(INSIDE_VENV) pip install src/ + + _build_wx/wxPython.target: @$(INSIDE_VENV) echo "Building wxPython for your `python --version 2>&1` under Linux $(DISTRO_RELEASE)..." # Create a folder to build wx into diff --git a/src/msspec/utils.py b/src/msspec/utils.py index 1dee866..38c289c 100644 --- a/src/msspec/utils.py +++ b/src/msspec/utils.py @@ -38,7 +38,11 @@ import ase.atom from ase import Atom from ase import Atoms -from msspec.iodata import Data +try: + from msspec.iodata import Data +except ImportError as err: + print(err) + from msspec.misc import LOGGER