Module for python cmake files; test template

Adds the pycmake makefile dependency and provides a submodule for build
convenience. Adds the SPE3CASE1 test case for some simple test writing
and a test template file.

Sets up python library structure.
This commit is contained in:
Jørgen Kvalsvik
2016-11-25 14:45:52 +01:00
parent ba06217321
commit c156eea300
13 changed files with 542 additions and 173 deletions

View File

@@ -1,4 +1,5 @@
# Loading pycmake macros
include( FindPythonModule )
include( PythonPackage )
#python_module( ctypes )
python_module( six )
@@ -10,3 +11,5 @@ if (DEFINED PY_inspect)
else()
message(STATUS "We do not have inspect, ignoring ...")
endif()
add_subdirectory( sunbeam )

View File

@@ -0,0 +1,5 @@
set(PYTHON_SOURCES
__init__.py
sunbeam.py)
add_python_package(sunbeam sunbeam "${PYTHON_SOURCES}")

View File

@@ -0,0 +1,2 @@
__version__ = '0.0.1'
__license__ = 'GNU General Public License version 3'

View File