From 34fc08c3c36804b09fa4c4a90d4f3e1a67836ecc Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Fri, 15 Dec 2017 19:59:10 +0100 Subject: [PATCH] FEM: fem command package, rename it to commands --- src/Mod/Fem/CMakeLists.txt | 12 ++++++------ src/Mod/Fem/InitGui.py | 2 +- src/Mod/Fem/{femcommand => femcommands}/__init__.py | 0 src/Mod/Fem/{femcommand => femcommands}/commands.py | 0 src/Mod/Fem/{femcommand => femcommands}/manager.py | 0 5 files changed, 7 insertions(+), 7 deletions(-) rename src/Mod/Fem/{femcommand => femcommands}/__init__.py (100%) rename src/Mod/Fem/{femcommand => femcommands}/commands.py (100%) rename src/Mod/Fem/{femcommand => femcommands}/manager.py (100%) diff --git a/src/Mod/Fem/CMakeLists.txt b/src/Mod/Fem/CMakeLists.txt index 0e3644f7ee..3e7dac129a 100755 --- a/src/Mod/Fem/CMakeLists.txt +++ b/src/Mod/Fem/CMakeLists.txt @@ -29,10 +29,10 @@ SET(FemScripts_SRCS TestFem.py ) -SET(FemCommand_SRCS - femcommand/__init__.py - femcommand/commands.py - femcommand/manager.py +SET(FemCommands_SRCS + femcommands/__init__.py + femcommands/commands.py + femcommands/manager.py ) SET(FemInOut_SRCS @@ -200,7 +200,7 @@ SET(FemObjectsScripts_SRCS SET(FemAllScripts ${FemScripts_SRCS} - ${FemCommand_SRCS} + ${FemCommands_SRCS} ${FemInOut_SRCS} ${FemMesh_SRCS} ${FemResult_SRCS} @@ -227,7 +227,7 @@ fc_copy_sources(FemScriptsTarget "${CMAKE_BINARY_DIR}/Mod/Fem" ${FemAllScripts}) # install Python packages (for make install) INSTALL(FILES ${FemScripts_SRCS} DESTINATION Mod/Fem) -INSTALL(FILES ${FemCommand_SRCS} DESTINATION Mod/Fem/femcommand) +INSTALL(FILES ${FemCommands_SRCS} DESTINATION Mod/Fem/femcommands) INSTALL(FILES ${FemInOut_SRCS} DESTINATION Mod/Fem/feminout) INSTALL(FILES ${FemMesh_SRCS} DESTINATION Mod/Fem/femmesh) INSTALL(FILES ${FemResult_SRCS} DESTINATION Mod/Fem/femresult) diff --git a/src/Mod/Fem/InitGui.py b/src/Mod/Fem/InitGui.py index 20e96e46c7..62815c5e50 100644 --- a/src/Mod/Fem/InitGui.py +++ b/src/Mod/Fem/InitGui.py @@ -44,7 +44,7 @@ class FemWorkbench (Workbench): # load the module import Fem import FemGui - import femcommand.commands + import femcommands.commands def GetClassName(self): return "FemGui::Workbench" diff --git a/src/Mod/Fem/femcommand/__init__.py b/src/Mod/Fem/femcommands/__init__.py similarity index 100% rename from src/Mod/Fem/femcommand/__init__.py rename to src/Mod/Fem/femcommands/__init__.py diff --git a/src/Mod/Fem/femcommand/commands.py b/src/Mod/Fem/femcommands/commands.py similarity index 100% rename from src/Mod/Fem/femcommand/commands.py rename to src/Mod/Fem/femcommands/commands.py diff --git a/src/Mod/Fem/femcommand/manager.py b/src/Mod/Fem/femcommands/manager.py similarity index 100% rename from src/Mod/Fem/femcommand/manager.py rename to src/Mod/Fem/femcommands/manager.py