removed header text

This commit is contained in:
Chris Simpkins 2018-02-25 19:32:20 -05:00
parent 362db5c99a
commit d8e5f5cc37

View File

@ -1,36 +1,6 @@
#!/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
# script
#
# Copyright 2018 Christopher Simpkins
# MIT License
#
# Dependencies:
# - Python fontTools library
# - Python 3 interpreter
#
# Usage: checksum.py (options) [file path 1]...[file path n]
#
# `file path` should be defined as a path to a font file for all use cases except with use of -c/--check.
# With the -c/--check option, use one or more file paths to checksum files
#
# 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 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
import os