2013-08-07 16:30:09 +02:00
|
|
|
# where will the python end up in triqs?
|
2016-02-05 15:24:34 +01:00
|
|
|
set(python_destination pytriqs/applications/dft)
|
2017-12-07 15:56:05 +01:00
|
|
|
set(PYTHON_LIB_DEST ${CPP2PY_PYTHON_LIB_DEST_ROOT}/pytriqs/cthyb)
|
2013-07-23 19:49:42 +02:00
|
|
|
|
2016-02-04 08:28:47 +01:00
|
|
|
# site_customize for build
|
|
|
|
set(package_name "pytriqs.applications")
|
2018-01-22 23:34:20 +01:00
|
|
|
|
|
|
|
# Create a temporary copy of the python modules so that we can run before installation with the test
|
|
|
|
FILE(GLOB_RECURSE all_py_files RELATIVE ${CMAKE_SOURCE_DIR}/python *.py )
|
|
|
|
foreach(f ${all_py_files})
|
|
|
|
configure_file(${f} ${f} COPYONLY)
|
|
|
|
endforeach()
|
|
|
|
|
|
|
|
#configure_file(${CMAKE_SOURCE_DIR}/cmake/sitecustomize.py ${CMAKE_CURRENT_BINARY_DIR}/sitecustomize.py @ONLY)
|
2013-07-23 19:49:42 +02:00
|
|
|
|
2017-01-27 12:19:03 +01:00
|
|
|
# VASP converter
|
2016-03-09 20:03:02 +01:00
|
|
|
add_subdirectory(converters/plovasp)
|
2017-01-27 12:19:03 +01:00
|
|
|
|
2016-05-05 18:56:13 +02:00
|
|
|
# add version file
|
2017-12-07 15:56:05 +01:00
|
|
|
configure_file(version.py.in version.py @ONLY)
|
|
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/version.py DESTINATION ${PYTHON_LIB_DEST})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|