diff --git a/CHANGELOG.md b/CHANGELOG.md index fa79029..b4c8d3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes in pdfminer.six will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## Unreleased + +### Added + +- Python3 shebang line to script in tools ([408](https://github.com/pdfminer/pdfminer.six/pull/408) + ## [20200402] ### Added diff --git a/pdfminer/psparser.py b/pdfminer/psparser.py index 055a3c9..8c13ec4 100644 --- a/pdfminer/psparser.py +++ b/pdfminer/psparser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- diff --git a/tests/test_pdfencoding.py b/tests/test_pdfencoding.py index e03f0ed..62b5790 100644 --- a/tests/test_pdfencoding.py +++ b/tests/test_pdfencoding.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- diff --git a/tools/conv_afm.py b/tools/conv_afm.py index 9b6af71..32cea90 100755 --- a/tools/conv_afm.py +++ b/tools/conv_afm.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import fileinput diff --git a/tools/conv_cmap.py b/tools/conv_cmap.py index dbc553e..3f782c8 100755 --- a/tools/conv_cmap.py +++ b/tools/conv_cmap.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import pickle as pickle diff --git a/tools/conv_glyphlist.py b/tools/conv_glyphlist.py index 9423713..f94dcc8 100755 --- a/tools/conv_glyphlist.py +++ b/tools/conv_glyphlist.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import fileinput diff --git a/tools/dumppdf.py b/tools/dumppdf.py index 377e9b4..3136c70 100755 --- a/tools/dumppdf.py +++ b/tools/dumppdf.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 """Extract pdf structure in XML format""" import logging import os.path diff --git a/tools/pdf2txt.py b/tools/pdf2txt.py index 7e6f9d7..0637ec4 100755 --- a/tools/pdf2txt.py +++ b/tools/pdf2txt.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 """A command line tool for extracting text and images from PDF and output it to plain text, html, xml or tags.""" import argparse diff --git a/tools/pdfdiff.py b/tools/pdfdiff.py index c4d578b..8723027 100644 --- a/tools/pdfdiff.py +++ b/tools/pdfdiff.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ compares rwo pdf files. diff --git a/tools/prof.py b/tools/prof.py index 9231872..1654a98 100644 --- a/tools/prof.py +++ b/tools/prof.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys