From 15789aa0d6e20e668968b45954234ea498ee355d Mon Sep 17 00:00:00 2001 From: Priyanka Seth Date: Thu, 5 May 2016 18:56:13 +0200 Subject: [PATCH] [version] Added version info to cmake, fix #61 --- python/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 632b5113..d6c3ba16 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -7,3 +7,7 @@ configure_file(${CMAKE_SOURCE_DIR}/cmake/sitecustomize.py ${CMAKE_CURRENT_BINARY # make a local pytriqs copy triqs_prepare_local_pytriqs(${python_destination}) + +# add version file +configure_file(version.py.in version.py) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/version.py DESTINATION ${TRIQS_PYTHON_LIB_DEST_ROOT}/${python_destination})