2013-07-17 19:24:07 +02:00
|
|
|
|
|
|
|
SET(PYTHON_SOURCES
|
2014-05-09 10:43:55 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/__init__.py
|
2013-07-17 19:24:07 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/block_gf.py
|
2014-05-20 17:45:16 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/descriptor_base.py
|
2013-07-17 19:24:07 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/descriptors.py
|
2014-05-20 17:45:16 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/_gf_imfreq.py
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/_gf_imtime.py
|
2014-05-29 21:34:46 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/_gf_legendre.py
|
2014-05-20 17:45:16 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/_gf_refreq.py
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/_gf_retime.py
|
|
|
|
#${CMAKE_CURRENT_SOURCE_DIR}/gf_two_real_times.py
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/_gf_plot.py
|
2013-07-17 19:24:07 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/inverse.py
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/lazy_expressions.py
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/tools.py
|
|
|
|
)
|
|
|
|
|
|
|
|
# Install python sources
|
|
|
|
install (FILES ${PYTHON_SOURCES} DESTINATION ${TRIQS_PYTHON_LIB_DEST}/gf/local)
|
|
|
|
|
2014-05-09 10:43:55 +02:00
|
|
|
# Build C extension module
|
|
|
|
triqs_python_extension(gf gf/local)
|
|
|
|
# ?? was not needed ? triqs_set_rpath_for_target(my_module)
|
2013-07-17 19:24:07 +02:00
|
|
|
|
|
|
|
install (FILES ${CMAKE_SOURCE_DIR}/pytriqs/__init__.py.template DESTINATION "include/pytriqs/gf/local" RENAME __init__.py)
|
|
|
|
|