suanPan
pack Namespace Reference

Functions

def pack (str root_folder)
 

Variables

string fn = "tools"
 
 verification = open(fn + "/VERIFICATION.txt", "w")
 
 full_path = os.path.join(folder, f)
 
 base_name = os.path.basename(full_path)
 
string an = "suanPan-win-mkl-vtk"
 
 archive = zipfile.ZipFile("../" + an + ".zip", "w", zipfile.ZIP_DEFLATED)
 

Function Documentation

◆ pack()

def pack.pack ( str  root_folder)

Variable Documentation

◆ an

string pack.an = "suanPan-win-mkl-vtk"

◆ archive

pack.archive = zipfile.ZipFile("../" + an + ".zip", "w", zipfile.ZIP_DEFLATED)

◆ base_name

pack.base_name = os.path.basename(full_path)

◆ fn

string pack.fn = "tools"

◆ full_path

pack.full_path = os.path.join(folder, f)

◆ verification

pack.verification = open(fn + "/VERIFICATION.txt", "w")