From cbe9bb2649d2106025fc4d1cda108b8e7bd72f68 Mon Sep 17 00:00:00 2001 From: satabol Date: Thu, 9 Nov 2023 23:40:08 +0300 Subject: [PATCH] fix #5057. Append new dependency ezdxf (Python DXF) --- dependencies.py | 7 +++++++ settings.py | 1 + 2 files changed, 8 insertions(+) diff --git a/dependencies.py b/dependencies.py index b52816f6db..310d91b542 100644 --- a/dependencies.py +++ b/dependencies.py @@ -185,6 +185,13 @@ def draw_message(box, package, dependencies=None): except ImportError: numexpr = None +ezdxf_d = sv_dependencies["ezdxf"] = SvDependency("ezdxf","https://github.com/mozman/ezdxf") +ezdxf_d.pip_installable = True +try: + import ezdxf + ezdxf_d.module = ezdxf +except ImportError: + ezdxf = None settings.pip = pip settings.sv_dependencies = sv_dependencies diff --git a/settings.py b/settings.py index d0098b42a0..524950f4f7 100644 --- a/settings.py +++ b/settings.py @@ -620,6 +620,7 @@ def draw_freecad_ops(): draw_message(box, "numba") draw_message(box, "pyOpenSubdiv") draw_message(box, "numexpr") + draw_message(box, "ezdxf") draw_freecad_ops()