<commit_before># ------------------------------------------------------------------------------
# madpack source files
# ------------------------------------------------------------------------------


# -- 1. Copy all *.py files ----------------------------------------------------

file(GLOB_RECURSE MADPACK_FILES
    RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
    "*.py"
)
add_files(MADPACK_TARGET_FILES . "${CMAKE_CURRENT_BINARY_DIR}" ${MADPACK_FILES})
add_custom_target(madpackFiles ALL DEPENDS ${MADPACK_TARGET_FILES})


# -- 2. Install madpack files to $MADLIB_ROOT/madpack, set executable flagse
#       for madpack.py ---------------------------------------------------------

install(PROGRAMS madpack.py
    DESTINATION madpack
)
install(FILES ${MADPACK_TARGET_FILES}
    DESTINATION madpack
)<commit_msg>madpack.py should now be installed with the executable flag set<commit_after># ------------------------------------------------------------------------------
# madpack source files
# ------------------------------------------------------------------------------


# -- 1. Copy all *.py files ----------------------------------------------------

file(GLOB_RECURSE MADPACK_FILES
    RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
    "*.py"
)
add_files(MADPACK_TARGET_FILES . "${CMAKE_CURRENT_BINARY_DIR}" ${MADPACK_FILES})
add_custom_target(madpackFiles ALL DEPENDS ${MADPACK_TARGET_FILES})


# -- 2. Install madpack files to $MADLIB_ROOT/madpack, set executable flagse
#       for madpack.py ---------------------------------------------------------

install(PROGRAMS madpack.py
    DESTINATION madpack
)
list(REMOVE_ITEM MADPACK_TARGET_FILES madpack.py)
install(FILES ${MADPACK_TARGET_FILES}
    DESTINATION madpack
)
{'fraction_non_alphanumeric': 0.37514518002322883, 'fraction_numerical': 0.0023228803716608595, 'mean_word_length': 1.3506139154160983, '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': '1652928', 'n_tokens_mistral': 468, 'n_tokens_neox': 432, 'n_words': 92}