Lines Matching refs:zippath
2136 def addToZip(zf, path, zippath): argument
2138 zf.write(path, zippath, ZIP_DEFLATED)
2140 if zippath:
2141 zf.write(path, zippath)
2144 os.path.join(path, nm), os.path.join(zippath, nm))
2149 zippath = os.path.basename(path)
2150 if not zippath:
2151 zippath = os.path.basename(os.path.dirname(path))
2152 if zippath in ('', os.curdir, os.pardir):
2153 zippath = ''
2154 addToZip(zf, path, zippath)