Skip to content

Commit 5d67be0

Browse files
committed
[checksum.py] added Python 3 dependency to documentation
1 parent 3d99365 commit 5d67be0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tools/scripts/checksum/checksum.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
33

4-
#------------------------------------------------------------------------------------------------------
4+
#----------------------------------------------------------------------------------------------------------
55
# checksum.py
66
# A SHA1 hash checksum list generator for fonts and fontTools
77
# XML dumps of font OpenType table data + checksum testing
@@ -10,21 +10,23 @@
1010
# Copyright 2018 Christopher Simpkins
1111
# MIT License
1212
#
13-
# Dependencies: Python fontTools library
13+
# Dependencies:
14+
# - Python fontTools library
15+
# - Python 3 interpreter
1416
#
1517
# Usage: checksum.py (options) [file path 1]...[file path n]
1618
#
1719
# Options:
1820
# -h, --help Help
1921
# -t, --ttx Calculate SHA1 hash values from ttx dump of XML (default = font binary)
20-
# -s, --stdout Stream to standard output stream (default = write to disk as 'checksum.txt')
22+
# -s, --stdout Stream to standard output stream (default = write to working dir as 'checksum.txt')
2123
# -c, --check Test SHA1 checksum values against a valid checksum file
2224
#
2325
# Options, --ttx only:
2426
# -e, --exclude Excluded OpenType table (may be used more than once, mutually exclusive with -i)
2527
# -i, --include Included OpenType table (may be used more than once, mutually exclusive with -e)
2628
# -n, --noclean Do not discard .ttx files that are used to calculate SHA1 hashes
27-
#-------------------------------------------------------------------------------------------------------
29+
#-----------------------------------------------------------------------------------------------------------
2830

2931
import argparse
3032
import hashlib

0 commit comments

Comments
 (0)