Home
last modified time | relevance | path

Searched refs:name_in_zip (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/test/support/
Dscript_helper.py221 def make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None): argument
225 if name_in_zip is None:
229 name_in_zip = os.path.basename(legacy_pyc)
232 name_in_zip = os.path.basename(script_name)
233 zip_file.write(script_name, name_in_zip)
238 return zip_name, os.path.join(zip_name, name_in_zip)
/third_party/python/Lib/test/
Dtest_zipimport_support.py83 name_in_zip = os.path.join('zip_pkg',
86 init_name, name_in_zip)
/third_party/python/Doc/library/
Dtest.rst1157 .. function:: make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None)
1160 contains the files in *script_name*. *name_in_zip* is the archive name.