From 7e643c563bd07502065a56a0edaf6470f5256db8 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Thu, 4 Aug 2022 22:32:59 -0700 Subject: [PATCH] Added python based Path module and pull in PathApp namespace --- src/Mod/Path/CMakeLists.txt | 12 ++++++++++++ src/Mod/Path/Path/__init__.py | 1 + 2 files changed, 13 insertions(+) create mode 100644 src/Mod/Path/Path/__init__.py diff --git a/src/Mod/Path/CMakeLists.txt b/src/Mod/Path/CMakeLists.txt index c6899e5e54..4b738d373c 100644 --- a/src/Mod/Path/CMakeLists.txt +++ b/src/Mod/Path/CMakeLists.txt @@ -25,6 +25,10 @@ INSTALL( Mod/Path ) +SET(PathPython_SRCS + Path/__init__.py +) + SET(PathScripts_SRCS PathScripts/drillableLib.py PathScripts/PathAdaptive.py @@ -313,6 +317,7 @@ SET(Path_Data SET(all_files ${PathScripts_SRCS} + ${PathPython_SRCS} ${Generator_SRCS} ${PathScripts_post_SRCS} ${PathPythonGui_SRCS} @@ -347,6 +352,13 @@ INSTALL( Mod/Path/PathScripts ) +INSTALL( + FILES + ${PathPython_SRCS} + DESTINATION + Mod/Path/Path +) + INSTALL( FILES ${Generator_SRCS} diff --git a/src/Mod/Path/Path/__init__.py b/src/Mod/Path/Path/__init__.py new file mode 100644 index 0000000000..fc13dc215a --- /dev/null +++ b/src/Mod/Path/Path/__init__.py @@ -0,0 +1 @@ +from PathApp import *