Lines Matching refs:interpreter
46 def _write_file_prefix(f, interpreter):
48 if interpreter:
49 shebang = b'#!' + interpreter.encode(shebang_encoding) + b'\n'
53 def _copy_archive(archive, new_archive, interpreter=None):
65 _write_file_prefix(dst, interpreter)
72 if interpreter and isinstance(new_archive, str):
76 def create_archive(source, target=None, interpreter=None, main=None,
106 _copy_archive(source, target, interpreter)
135 _write_file_prefix(fd, interpreter)
146 if interpreter and not hasattr(target, 'write'):
170 help="The name of the Python interpreter to use "
179 help="Display the interpreter from the archive.")
189 interpreter = get_interpreter(args.source)
190 print("Interpreter: {}".format(interpreter or "<none>"))
201 interpreter=args.python, main=args.main,