Make CGT script works through 'python -m coriolis' command

Added cgt script as __main__.py into coriolis python package
This commit is contained in:
Serge Rabyking 2023-06-06 12:51:46 +01:00
parent d968eb3c81
commit 60e7ba1d9b
1 changed files with 1 additions and 0 deletions

View File

@ -114,3 +114,4 @@ file(MAKE_DIRECTORY ${CORIOLIS_EXTRAS_DIR})
# Put all extra python things into ${CORIOLIS_EXTRAS_DIR} directory
coriolis_install_all(${CORIOLIS_PACKAGE_SRCDIR} ${CORIOLIS_EXTRAS_DIR})
install(FILES "${CORIOLIS_TMP_INSTALL_DIR}/bin/cgt" DESTINATION coriolis RENAME __main__.py)