<commit_before>list(APPEND PY_SOURCES
     hecl/__init__.py
     hecl/Nodegrid.py
     hecl/Patching.py
     hecl/hmdl/__init__.py
     hecl/hmdl/HMDLMesh.py
     hecl/hmdl/HMDLShader.py
     hecl/sact/__init__.py
     hecl/sact/SACTAction.py
     hecl/sact/SACTSubtype.py
     hecl/srea/__init__.py
     hecl/swld/__init__.py
     hecl/armature.py
     hecl/mapa.py
     hecl/mapu.py
     hecl/frme.py
     hecl/path.py)

bintoc(hecl_blendershell.cpp hecl_blendershell.py HECL_BLENDERSHELL)

add_custom_command(OUTPUT hecl.zip DEPENDS ${PY_SOURCES}
                   COMMAND python ARGS zip_package.py ${CMAKE_CURRENT_BINARY_DIR}/hecl.zip
                   WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
                   COMMENT "Generating addon package")
bintoc(hecl_addon.cpp "${CMAKE_CURRENT_BINARY_DIR}/hecl.zip" HECL_ADDON)

add_library(hecl-blender-addon
            hecl_blendershell.py
            hecl_blendershell.cpp
            zip_package.py
            hecl.zip
            hecl_addon.cpp
            ${PY_SOURCES})<commit_msg>Specify python3 to zip the plugin<commit_after>list(APPEND PY_SOURCES
     hecl/__init__.py
     hecl/Nodegrid.py
     hecl/Patching.py
     hecl/hmdl/__init__.py
     hecl/hmdl/HMDLMesh.py
     hecl/hmdl/HMDLShader.py
     hecl/sact/__init__.py
     hecl/sact/SACTAction.py
     hecl/sact/SACTSubtype.py
     hecl/srea/__init__.py
     hecl/swld/__init__.py
     hecl/armature.py
     hecl/mapa.py
     hecl/mapu.py
     hecl/frme.py
     hecl/path.py)

bintoc(hecl_blendershell.cpp hecl_blendershell.py HECL_BLENDERSHELL)

add_custom_command(OUTPUT hecl.zip DEPENDS ${PY_SOURCES}
                   COMMAND python3 ARGS zip_package.py ${CMAKE_CURRENT_BINARY_DIR}/hecl.zip
                   WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
                   COMMENT "Generating addon package")
bintoc(hecl_addon.cpp "${CMAKE_CURRENT_BINARY_DIR}/hecl.zip" HECL_ADDON)

add_library(hecl-blender-addon
            hecl_blendershell.py
            hecl_blendershell.cpp
            zip_package.py
            hecl.zip
            hecl_addon.cpp
            ${PY_SOURCES})
{'fraction_non_alphanumeric': 0.0832938949361098, 'fraction_numerical': 0.000946521533364884, 'mean_word_length': 2.3449367088607596, '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': '6583494', 'n_tokens_mistral': 839, 'n_tokens_neox': 808, 'n_words': 96}