Grammalecte  Diff

Differences From Artifact [686aabcbed]:

To Artifact [418a36d3bb]:


259
260
261
262
263
264
265
266
267
268
269
270
271

272
273
274
275
276
277
278
259
260
261
262
263
264
265

266
267
268
269

270
271
272
273
274
275
276
277







-




-
+







        print("+ Modules: ", end="")
        for sf in os.listdir(spLang+"/modules-js"):
            if not sf.startswith("gce_"):
                helpers.copyAndFileTemplate(spLang+"/modules-js/"+sf, spLangPack+"/"+sf, dVars)
                print(sf, end=", ")
        print()

        build_module = None
        try:
            build_module = importlib.import_module("gc_lang."+sLang+".build")
        except ImportError:
            print("# No complementary builder <build.py> in folder gc_lang/"+sLang)
        if build_module:
        else:
            build_module.build(sLang, dVars, spLangPack)

    return dVars['version']


def main ():
    print("Python: " + sys.version)