Index: gc_lang/fr/build_data.py ================================================================== --- gc_lang/fr/build_data.py +++ gc_lang/fr/build_data.py @@ -11,11 +11,10 @@ import graphspell.ibdawg as ibdawg from graphspell.echo import echo from graphspell.str_transform import defineSuffixCode import graphspell.tokenizer as tkz -import grammalecte.fr.conj as conj class cd: """Context manager for changing the current working directory""" def __init__ (self, newPath): @@ -267,10 +266,12 @@ def makePhonetTable (sp, bJS=False): print("> Correspondances phonétiques ", end="") print("(Python et JavaScript)" if bJS else "(Python seulement)") + import gc_lang.fr.modules.conj as conj + try: oDict = ibdawg.IBDAWG("French.bdic") except: traceback.print_exc() return Index: make.py ================================================================== --- make.py +++ make.py @@ -220,11 +220,11 @@ for sf in os.listdir("gc_core/py/lang_core"): if not os.path.isdir("gc_core/py/lang_core/"+sf): helpers.copyAndFileTemplate("gc_core/py/lang_core/"+sf, spLangPack+"/"+sf, dVars) print("+ Modules: ", end="") for sf in os.listdir(spLang+"/modules"): - if not sf.startswith("gce_"): + if not sf.startswith(("gce_", "__pycache__")): file_util.copy_file(spLang+"/modules/"+sf, spLangPack) print(sf, end=", ") print() # TEST FILES