(self, filenames)
| 399 | return "" |
| 400 | |
| 401 | def _hash_files(self, filenames): |
| 402 | h = hashlib.sha1() |
| 403 | for fn in filenames: |
| 404 | with open(fn, 'rb') as f: |
| 405 | while True: |
| 406 | block = f.read(131072) |
| 407 | if not block: |
| 408 | break |
| 409 | h.update(block) |
| 410 | text = base64.b32encode(h.digest()) |
| 411 | text = text.decode('ascii') |
| 412 | return text.rstrip('=') |
| 413 | |
| 414 | def _link_wrapper_lib(self, objects, output_dir, extra_dll_dir, |
| 415 | chained_dlls, is_archive): |