Beispiel #1
0
def export_assets(fips_dir, proj_dir, webpage_dir) :

    tex_srcdir = proj_dir + '/data'
    tex_dstdir = webpage_dir + '/data'
    texexport.configure(proj_dir, tex_srcdir, tex_dstdir)
    texexport.exportSampleTextures()
    for ext in ['txt'] :
        for dataFile in glob.glob(proj_dir + '/data/*.{}'.format(ext)) :
            shutil.copy(dataFile, '{}/data/'.format(webpage_dir))
Beispiel #2
0
def export_assets(fips_dir, proj_dir, webpage_dir) :

    tex_srcdir = proj_dir + '/data'
    tex_dstdir = webpage_dir + '/data'
    texexport.configure(proj_dir, tex_srcdir, tex_dstdir)
    texexport.exportSampleTextures()
    for ext in ['txt'] :
        for dataFile in glob.glob(proj_dir + '/data/*.{}'.format(ext)) :
            shutil.copy(dataFile, '{}/data/'.format(webpage_dir))
Beispiel #3
0
def export_assets(fips_dir, proj_dir, webpage_dir):
    tex_srcdir = proj_dir + '/data'
    tex_dstdir = webpage_dir + '/data'
    texexport.configure(proj_dir, tex_srcdir, tex_dstdir)
    texexport.exportSampleTextures(['dds'])
    for dataFile in glob.glob(proj_dir + '/data/*.txt'):
        shutil.copy(dataFile, webpage_dir)
    tbui_from = '{}/data/tbui'.format(proj_dir)
    tbui_to = '{}/data/tbui'.format(webpage_dir)
    shutil.copytree(tbui_from, tbui_to)
Beispiel #4
0
def export_assets(fips_dir, proj_dir, webpage_dir) :
    tex_srcdir = proj_dir + '/data'
    tex_dstdir = webpage_dir + '/data'
    texexport.configure(proj_dir, tex_srcdir, tex_dstdir)
    texexport.exportSampleTextures(['dds'])
    for dataFile in glob.glob(proj_dir + '/data/*.txt') :
        shutil.copy(dataFile, webpage_dir)
    tbui_from = '{}/data/tbui'.format(proj_dir)
    tbui_to   = '{}/data/tbui'.format(webpage_dir)
    shutil.copytree(tbui_from, tbui_to)
Beispiel #5
0
def export_assets(fips_dir, proj_dir, webpage_dir):

    tex_srcdir = proj_dir + "/data"
    tex_dstdir = webpage_dir
    texexport.configure(proj_dir, tex_srcdir, tex_dstdir)
    texexport.exportSampleTextures()
    for dataFile in glob.glob(proj_dir + "/data/nanovg/*"):
        shutil.copy(dataFile, webpage_dir)
    for dataFile in glob.glob(proj_dir + "/data/*.txt"):
        shutil.copy(dataFile, webpage_dir)
    tbui_from = "{}/data/tbui".format(proj_dir)
    tbui_to = "{}/tbui".format(webpage_dir)
    shutil.copytree(tbui_from, tbui_to)