catch import error for cross compiling osx arm64 (#1263)

when version is imported it currenly also try to import the bindings
This commit is contained in:
Adrien Delsalle 2021-11-10 14:55:58 +01:00 committed by GitHub
parent 1439f321c5
commit 9a1a68e82c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1 +1,4 @@
from libmambapy.bindings import * # noqa: F401,F403
try:
from libmambapy.bindings import * # noqa: F401,F403
except ImportError:
pass