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:
@@ -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 )
|
||||
|
||||
5
python/sunbeam/CMakeLists.txt
Normal file
5
python/sunbeam/CMakeLists.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
set(PYTHON_SOURCES
|
||||
__init__.py
|
||||
sunbeam.py)
|
||||
|
||||
add_python_package(sunbeam sunbeam "${PYTHON_SOURCES}")
|
||||
2
python/sunbeam/__init__.py
Normal file
2
python/sunbeam/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
__version__ = '0.0.1'
|
||||
__license__ = 'GNU General Public License version 3'
|
||||
0
python/sunbeam/sunbeam.py
Normal file
0
python/sunbeam/sunbeam.py
Normal file
Reference in New Issue
Block a user