소스 검색

[checksum.py] added Python 3 dependency to documentation

Chris Simpkins 7 년 전
부모
커밋
5d67be0ca8
1개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  1. 6 4
      tools/scripts/checksum/checksum.py

+ 6 - 4
tools/scripts/checksum/checksum.py

@@ -1,7 +1,7 @@
 #!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
-#------------------------------------------------------------------------------------------------------
+#----------------------------------------------------------------------------------------------------------
 # checksum.py
 #  A SHA1 hash checksum list generator for fonts and fontTools
 #  XML dumps of font OpenType table data + checksum testing
@@ -10,21 +10,23 @@
 # Copyright 2018 Christopher Simpkins
 # MIT License
 #
-# Dependencies: Python fontTools library
+# Dependencies:
+#   - Python fontTools library
+#   - Python 3 interpreter
 #
 # Usage: checksum.py (options) [file path 1]...[file path n]
 #
 # Options:
 #   -h, --help          Help
 #   -t, --ttx           Calculate SHA1 hash values from ttx dump of XML (default = font binary)
-#   -s, --stdout        Stream to standard output stream (default = write to disk as 'checksum.txt')
+#   -s, --stdout        Stream to standard output stream (default = write to working dir as 'checksum.txt')
 #   -c, --check         Test SHA1 checksum values against a valid checksum file
 #
 # Options, --ttx only:
 #   -e, --exclude       Excluded OpenType table (may be used more than once, mutually exclusive with -i)
 #   -i, --include       Included OpenType table (may be used more than once, mutually exclusive with -e)
 #   -n, --noclean       Do not discard .ttx files that are used to calculate SHA1 hashes
-#-------------------------------------------------------------------------------------------------------
+#-----------------------------------------------------------------------------------------------------------
 
 import argparse
 import hashlib