From eb636866e055d5d3025ea67c73e3282c7b2e1fc1 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Wed, 1 Nov 2023 10:47:32 +0200 Subject: [PATCH] Fix duplicated parameter --- README.md | 10 ++++++---- image_classifier/image_classifier.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 70e5c8c..eaaae59 100755 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ -== image_classifier +# image_classifier -Classifies images by their EXIF date (e.g. /path/YYYY.MM.DD/image.jpg). +## Description -= Install +Classifies images by their EXIF date (e.g. /path/YYYY.MM.DD/image.jpg) or date in filename. -apt install exiv2 cmake libexiv2-dev libboost-python-dev +## Install + +apt install exiv2 cmake libexiv2-dev libboost-python-dev python3-py3exiv2 python3 setup.py install diff --git a/image_classifier/image_classifier.py b/image_classifier/image_classifier.py index b00433f..bf7afd7 100755 --- a/image_classifier/image_classifier.py +++ b/image_classifier/image_classifier.py @@ -422,7 +422,7 @@ for files in the provided --directory') https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior' ) @click.option( - '--limit', '-l', + '--limit', '-L', default=10, help='Limit the number of files to process' ) diff --git a/setup.cfg b/setup.cfg index 96f2c6a..ca8a104 100755 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = image_classifier -version = 0.0.15 +version = 0.0.16 [options] packages = image_classifier diff --git a/setup.py b/setup.py index f7e8c8c..6b0ac81 100755 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ if os.access(requirements_file, os.R_OK): setuptools.setup( scripts=['image_classifier/image_classifier.py'], author="Antonio J. Delgado", - version='0.0.15', + version='0.0.16', name='image_classifier', author_email="antoniodelgado@susurrando.com", url="",