Fixed ModuleNotFoundError during 'make'.

The eps.so was loaded by __init__.py during making
the shared object and was obviously not found.
The import is now enclose in a try...except block to
avoid raising an exception.
This commit is contained in:
Sylvain Tricot 2022-03-07 14:15:23 +01:00
parent 04e936c881
commit 2da7549d99
1 changed files with 4 additions and 1 deletions

View File

@ -21,4 +21,7 @@
# Committed by : Sylvain Tricot <sylvain.tricot@univ-rennes1.fr> 1645806435 +0100
from msspec_dfm.version import __version__
from msspec_dfm.compute import compute
try:
from msspec_dfm.compute import compute
except ModuleNotFoundError as err:
pass