2013-07-17 19:24:07 +02:00
|
|
|
SET(PYTHON_SOURCES
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/__init__.py
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/bz_patch.py
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/super_lattice.py
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/tight_binding.py
|
|
|
|
)
|
|
|
|
|
2014-05-29 21:34:46 +02:00
|
|
|
install (FILES ${CMAKE_SOURCE_DIR}/pytriqs/__init__.py.template DESTINATION "include/pytriqs/gf/local" RENAME __init__.py)
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2014-05-29 21:34:46 +02:00
|
|
|
install (FILES ${PYTHON_SOURCES} DESTINATION ${TRIQS_PYTHON_LIB_DEST}/lattice)
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2014-05-29 21:34:46 +02:00
|
|
|
# Build C extension module
|
|
|
|
triqs_python_extension(lattice_tools lattice)
|
2013-07-17 19:24:07 +02:00
|
|
|
|