From 7f2b9b15a0d38f9be647698c7755f0214db6084a Mon Sep 17 00:00:00 2001 From: dbv Date: Fri, 23 Dec 2016 13:52:40 +0300 Subject: [PATCH] Issue #803: Put all the python modules in the same python package newgeom --- src/CollectionPlugin/Test/TestGroup1799.py | 2 +- src/PythonAPI/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CollectionPlugin/Test/TestGroup1799.py b/src/CollectionPlugin/Test/TestGroup1799.py index 70edca220..acc617dbe 100644 --- a/src/CollectionPlugin/Test/TestGroup1799.py +++ b/src/CollectionPlugin/Test/TestGroup1799.py @@ -3,7 +3,7 @@ # 4 times more faces. # The biggest part of the code is python dump of the updated_for_1799.hdf file from this issue. -import model +from salome.shaper import model from ModelAPI import * model.begin() diff --git a/src/PythonAPI/CMakeLists.txt b/src/PythonAPI/CMakeLists.txt index 339fcc396..1b837d2ac 100644 --- a/src/PythonAPI/CMakeLists.txt +++ b/src/PythonAPI/CMakeLists.txt @@ -2,6 +2,7 @@ INSTALL(DIRECTORY geom model examples DESTINATION ${SHAPER_INSTALL_PYTHON_API}) INSTALL(FILES __init__.py DESTINATION ${SHAPER_INSTALL_PYTHON_API}) +INSTALL(FILES __init__.py DESTINATION ${_pydir}/salome) # --------- Unit tests ----------- INCLUDE(UnitTest) -- 2.30.2