<commit_before>import os
import sys

if sys.platform.startswith('win'):
    sys.path.insert(0, 'c:/work/code/dscas3/')
else:
    sys.path.insert(0, '/home/cpbotha/work/code/dscas3/')

import modules

# * we need to give the module paths relative to the directory moduleManager
#   is in (I think, since this is the hook for moduleManager)
# * the installer will treat these imports as if they were explicitly
#   imported by the moduleManager, so THEIR dependecies will automatically
#   be analysed.
ml2 = ["modules." + i for i in modules.module_list]
hiddenimports = ml2

print "[*] hook-moduleManager.py - HIDDENIMPORTS"
print hiddenimports
<commit_msg>Update installer to new scheme.<commit_after>import os
import sys

if sys.platform.startswith('win'):
    sys.path.insert(0, 'c:/work/code/dscas3/')
else:
    sys.path.insert(0, '/home/cpbotha/work/code/dscas3/')

import modules

# * we need to give the module paths relative to the directory moduleManager
#   is in (I think, since this is the hook for moduleManager)
# * the installer will treat these imports as if they were explicitly
#   imported by the moduleManager, so THEIR dependecies will automatically
#   be analysed.
ml2 = ["modules." + i for i in modules.moduleList]
hiddenimports = ml2

print "[*] hook-moduleManager.py - HIDDENIMPORTS"
print hiddenimports

{'fraction_non_alphanumeric': 0.09857035364936043, 'fraction_numerical': 0.009029345372460496, 'mean_word_length': 4.2362204724409445, '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': '4922739', 'n_tokens_mistral': 423, 'n_tokens_neox': 417, 'n_words': 148}