3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 04:13:47 +01:00
dft_tools/python/CMakeLists.txt
Oleg Peil 8378013faa Merge branch 'master' into vasp
Conflicts:
	doc/guide/dftdmft_selfcons.rst
	python/CMakeLists.txt
	python/converters/__init__.py
	python/sumk_dft.py
	test/CMakeLists.txt
2017-01-27 12:19:03 +01:00

17 lines
583 B
CMake

# where will the python end up in triqs?
set(python_destination pytriqs/applications/dft)
# site_customize for build
set(package_name "pytriqs.applications")
configure_file(${CMAKE_SOURCE_DIR}/cmake/sitecustomize.py ${CMAKE_CURRENT_BINARY_DIR}/sitecustomize.py @ONLY)
# make a local pytriqs copy
triqs_prepare_local_pytriqs(${python_destination})
# VASP converter
add_subdirectory(converters/plovasp)
# 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})