diff --git a/spamprotection/__init__.py b/spamprotection/__init__.py index 561f776..d9321dc 100644 --- a/spamprotection/__init__.py +++ b/spamprotection/__init__.py @@ -1,4 +1,9 @@ """Initial Directory.""" -from .client import SPBClient # noqa: F401 - __version__ = "0.1.1" + +try: + from .client import SPBClient # noqa: F401 +except ModuleNotFoundError: + # in setup.py, this import will cause problems + # because dependencies aren't always installed + pass