add shebang line to script in tools (#408)

* add shebang line to script in tools

* fix: use shebang line with python 3

* Moved changelog to unreleased

Co-authored-by: Pieter Marsman <pietermarsman@gmail.com>
pull/412/head
fabbox 2020-04-28 10:58:42 +02:00 committed by GitHub
parent d79bcb75ea
commit 7eff108fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 15 additions and 7 deletions

View File

@ -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/). 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] ## [20200402]
### Added ### Added

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import sys import sys
import fileinput import fileinput

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import sys import sys
import pickle as pickle import pickle as pickle

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import sys import sys
import fileinput import fileinput

View File

@ -1,3 +1,4 @@
#!/usr/bin/env python3
"""Extract pdf structure in XML format""" """Extract pdf structure in XML format"""
import logging import logging
import os.path import os.path

View File

@ -1,3 +1,4 @@
#!/usr/bin/env python3
"""A command line tool for extracting text and images from PDF and """A command line tool for extracting text and images from PDF and
output it to plain text, html, xml or tags.""" output it to plain text, html, xml or tags."""
import argparse import argparse

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
""" """
compares rwo pdf files. compares rwo pdf files.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import sys import sys