Skip to content

Commit

Permalink
Merge pull request #5058 from nortikin/fix_5057_Append_new_dependency…
Browse files Browse the repository at this point in the history
…_ezdxf_Python_DXF

fix #5057. Append new dependency ezdxf (Python DXF)
  • Loading branch information
satabol authored Nov 9, 2023
2 parents 25a7e1d + cbe9bb2 commit 6b256f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 6b256f7

Please sign in to comment.