From: spo Date: Tue, 20 Oct 2015 08:11:11 +0000 (+0300) Subject: Add module shaper.py X-Git-Tag: V_2.1.0~206^2~79^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e8835691560ee357bbe5371d6cd3af94c24d2ccc;p=modules%2Fshaper.git Add module shaper.py --- diff --git a/src/PythonAPI/CMakeLists.txt b/src/PythonAPI/CMakeLists.txt index 75c42711c..02fe15075 100644 --- a/src/PythonAPI/CMakeLists.txt +++ b/src/PythonAPI/CMakeLists.txt @@ -4,11 +4,13 @@ SET(CMAKE_AUTOMOC ON) INSTALL(DIRECTORY extension geom model DESTINATION PythonAPI) +INSTALL(FILES shaper.py DESTINATION PythonAPI) # --------- Unit tests ----------- INCLUDE(UnitTest) ADD_UNIT_TESTS( + TestShaper.py TestModel.py TestSketcherAddPoint.py TestSketcherAddLine.py diff --git a/src/PythonAPI/Test/TestShaper.py b/src/PythonAPI/Test/TestShaper.py new file mode 100644 index 000000000..09c751bd8 --- /dev/null +++ b/src/PythonAPI/Test/TestShaper.py @@ -0,0 +1,6 @@ +import unittest +from shaper import model +from shaper import geom + +if __name__ == "__main__": + unittest.main() diff --git a/src/PythonAPI/shaper.py b/src/PythonAPI/shaper.py new file mode 100644 index 000000000..b2eb4d419 --- /dev/null +++ b/src/PythonAPI/shaper.py @@ -0,0 +1,7 @@ +"""This package defines the Python API of the Shaper. +""" + +# Main packages + +import geom +import model