Skip to content

Commit 0bd6dfc

Browse files
committed
also produce sha256sum of pyz on creation
1 parent c4f2c6d commit 0bd6dfc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

testing/zipapp/make

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ def main() -> int:
9999
shebang = '/usr/bin/env python3'
100100
zipapp.create_archive(tmpdir, filename, interpreter=shebang)
101101

102+
with open(f'{filename}.sha256sum', 'w') as f:
103+
subprocess.check_call(('sha256sum', filename), stdout=f)
104+
102105
return 0
103106

104107

0 commit comments

Comments
 (0)