Salome HOME
Issue #803: Put all the python modules in the same python package newgeom
authordbv <dbv@opencascade.com>
Fri, 23 Dec 2016 10:52:40 +0000 (13:52 +0300)
committerdbv <dbv@opencascade.com>
Fri, 23 Dec 2016 10:53:01 +0000 (13:53 +0300)
src/CollectionPlugin/Test/TestGroup1799.py
src/PythonAPI/CMakeLists.txt

index 70edca2204b1f04a6bfcac77652e4b321cfb25e6..acc617dbecf00ea18daecc717b65346d7211eb40 100644 (file)
@@ -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()
index 339fcc396912c3cd2881dea1780fcdf70e3d7d5b..1b837d2acc7e0ff6569f24c7cf5d0c8e80d597c8 100644 (file)
@@ -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)