diff options
| author | jvoisin | 2015-12-02 17:07:19 +0100 |
|---|---|---|
| committer | jvoisin | 2015-12-02 17:22:45 +0100 |
| commit | 80ece3001895ea13d50915a5215fd47e313bab4c (patch) | |
| tree | c5ede43867c5d7fe2af4178b34b0e6dc219f6aac /mat | |
| parent | 3cf80e8b5d6faf410e9ad3aad77f23cf6418a587 (diff) | |
Remove hachoir from MAT.
This (huge) commit removes completely hachoir from MAT.
Audio files are now processed with mutagen, and images
with exiftool, since the main python imaging library (PIL)
isn't super-great to deal with metadata (and damaged/non-standard
files).
Package maintainer should change the dependencies to reflect this.
Diffstat (limited to 'mat')
| -rwxr-xr-x | mat | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -7,8 +7,6 @@ import sys | |||
| 7 | import argparse | 7 | import argparse |
| 8 | import os | 8 | import os |
| 9 | 9 | ||
| 10 | import hachoir_core | ||
| 11 | |||
| 12 | from libmat import mat | 10 | from libmat import mat |
| 13 | from libmat import archive | 11 | from libmat import archive |
| 14 | 12 | ||
| @@ -35,7 +33,7 @@ def parse(): | |||
| 35 | info.add_argument('-l', '--list', action='store_true', | 33 | info.add_argument('-l', '--list', action='store_true', |
| 36 | help='list all supported fileformats') | 34 | help='list all supported fileformats') |
| 37 | info.add_argument('-v', '--version', action='version', | 35 | info.add_argument('-v', '--version', action='version', |
| 38 | version='MAT %s - Hachoir %s' % (mat.__version__, hachoir_core.__version__)) | 36 | version='MAT %s' % mat.__version__) |
| 39 | 37 | ||
| 40 | return parser.parse_args() | 38 | return parser.parse_args() |
| 41 | 39 | ||
