From: dbv Date: Fri, 23 Dec 2016 10:52:40 +0000 (+0300) Subject: Issue #803: Put all the python modules in the same python package newgeom X-Git-Tag: V_2.7.0~351^2~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7f2b9b15a0d38f9be647698c7755f0214db6084a;hp=6748dbfda454a839fe666d68d986cc5bd444425c;p=modules%2Fshaper.git Issue #803: Put all the python modules in the same python package newgeom --- 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)