diff --git a/.gitignore b/.gitignore index 894a44c..346fbc2 100644 --- a/.gitignore +++ b/.gitignore @@ -102,3 +102,5 @@ venv.bak/ # mypy .mypy_cache/ + +.vscode/ diff --git a/organize_my_photos.py b/organize_my_photos.py index 58fd0fb..443bfe8 100644 --- a/organize_my_photos.py +++ b/organize_my_photos.py @@ -8,7 +8,7 @@ import time import calendar import shutil -EXTENSIONS = ('jpg', 'jpeg') +EXTENSIONS = ('jpg', 'jpeg', 'gif') @click.command() @click.argument('path') diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..46fbada --- /dev/null +++ b/setup.py @@ -0,0 +1,24 @@ +from setuptools import setup +setup( + name = 'Organize-my-photos', + py_modules=['organize_my_photos'], + version = '1.0.0', + python_requires='>3.6', + description = 'Terminal program that organizes and organizes the photographs in folders by year, month and day.', + author = 'Andros Fenollosa', + author_email = 'andros@fenollosa.email', + url = 'https://github.com/tanrax/organize-my-photos', + keywords = ['jpg', 'jpeg', 'sort', 'organize'], + classifiers=( + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ), + install_requires=[ + 'Click>=6.7', + ], + entry_points=''' + [console_scripts] + ad=organize_my_photos:organize_my_photos + ''' +)