Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/support/
Dscript_helper.py212 def make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None): argument
216 if name_in_zip is None:
220 name_in_zip = os.path.basename(legacy_pyc)
223 name_in_zip = os.path.basename(script_name)
224 zip_file.write(script_name, name_in_zip)
229 return zip_name, os.path.join(zip_name, name_in_zip)
/external/python/cpython2/Lib/test/support/
Dscript_helper.py122 def make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None): argument
126 if name_in_zip is None:
127 name_in_zip = os.path.basename(script_name)
128 zip_file.write(script_name, name_in_zip)
135 return zip_name, os.path.join(zip_name, name_in_zip)
/external/python/cpython2/Lib/test/
Dtest_zipimport_support.py80 name_in_zip = os.path.join('zip_pkg',
83 init_name, name_in_zip)
/external/python/cpython3/Lib/test/
Dtest_zipimport_support.py82 name_in_zip = os.path.join('zip_pkg',
85 init_name, name_in_zip)
/external/python/cpython3/Doc/library/
Dtest.rst1580 .. function:: make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None)
1583 contains the files in *script_name*. *name_in_zip* is the archive name.