Fix a dependency problem when installing on fresh installs

This commit is contained in:
Justin Crawford 2021-12-09 16:59:38 -08:00
parent 274870219b
commit 0db79b72d6
No known key found for this signature in database
GPG Key ID: 0D84DEDBB8EF259C
1 changed files with 7 additions and 2 deletions

View File

@ -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