From 6de3e55d1973062ee9edff3e92786a29de65698e Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 14 Feb 2021 09:43:10 +0100 Subject: [PATCH] make wrapper import in schema_class optional --- src/ifcopenshell-python/ifcopenshell/express/schema_class.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/express/schema_class.py b/src/ifcopenshell-python/ifcopenshell/express/schema_class.py index 1ae24453f0..53230c6b91 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/schema_class.py +++ b/src/ifcopenshell-python/ifcopenshell/express/schema_class.py @@ -25,7 +25,10 @@ import templates from collections import defaultdict -import ifcopenshell.ifcopenshell_wrapper as w +try: + import ifcopenshell.ifcopenshell_wrapper as w +except: + pass class LateBoundSchemaInstantiator: