Searched refs:name_in_zip (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Lib/test/support/ |
D | script_helper.py | 212 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/ |
D | script_helper.py | 122 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/ |
D | test_zipimport_support.py | 80 name_in_zip = os.path.join('zip_pkg', 83 init_name, name_in_zip)
|
/external/python/cpython3/Lib/test/ |
D | test_zipimport_support.py | 82 name_in_zip = os.path.join('zip_pkg', 85 init_name, name_in_zip)
|
/external/python/cpython3/Doc/library/ |
D | test.rst | 1580 .. 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.
|