<commit_before># Export of the files SPHARM-PDM-parameters.ini and SPHARM-PDM.py in the SPHARM package share folder in order to run SPHARM-PDM by command-lines via SlicerSALT or Slicer
set(SPHARM-PDM_python-script ${CMAKE_SOURCE_DIR}/CommandLineTool/SPHARM-PDM.py)
set(SPHARM-PDM_parameters-file ${CMAKE_SOURCE_DIR}/CommandLineTool/SPHARM-PDM-parameters.ini)

set(SPHARM_commandline_install_dir ${Slicer_INSTALL_ROOT}${Slicer_SHARE_DIR}/CommandLineTool)

if(APPLE)
  set(SPHARM_commandline_install_dir ${Slicer_INSTALL_ROOT}${Slicer_BUNDLE_EXTENSIONS_LOCATION}${Slicer_SHARE_DIR}/CommandLineTool)
endif()

install(FILES
    ${SPHARM-PDM_parameters-file}
    ${SPHARM-PDM_python-script}<commit_msg>COMP: Fix install rules to support packaging as a Slicer bundled extension<commit_after># Export of the files SPHARM-PDM-parameters.ini and SPHARM-PDM.py in the SPHARM package share folder in order to run SPHARM-PDM by command-lines via SlicerSALT or Slicer
set(SPHARM-PDM_python-script ${SPHARM-PDM_SOURCE_DIR}/CommandLineTool/SPHARM-PDM.py)
set(SPHARM-PDM_parameters-file ${SPHARM-PDM_SOURCE_DIR}/CommandLineTool/SPHARM-PDM-parameters.ini)

set(SPHARM_commandline_install_dir ${Slicer_INSTALL_ROOT}${Slicer_SHARE_DIR}/CommandLineTool)

if(APPLE)
  set(SPHARM_commandline_install_dir ${Slicer_INSTALL_ROOT}${Slicer_BUNDLE_EXTENSIONS_LOCATION}${Slicer_SHARE_DIR}/CommandLineTool)
endif()

install(FILES
    ${SPHARM-PDM_parameters-file}
    ${SPHARM-PDM_python-script}
{'fraction_non_alphanumeric': 0.09761092150170649, 'fraction_numerical': 0.0, 'mean_word_length': 7.831325301204819, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5540525', 'n_tokens_mistral': 572, 'n_tokens_neox': 557, 'n_words': 86}