From 2da7549d9967ed419c1f5227a68a4c39f2d6f048 Mon Sep 17 00:00:00 2001 From: Sylvain Tricot Date: Mon, 7 Mar 2022 14:15:23 +0100 Subject: [PATCH] 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. --- src/python/msspec_dfm/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/python/msspec_dfm/__init__.py b/src/python/msspec_dfm/__init__.py index d52165f..a3a6446 100644 --- a/src/python/msspec_dfm/__init__.py +++ b/src/python/msspec_dfm/__init__.py @@ -21,4 +21,7 @@ # Committed by : Sylvain Tricot 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