Add setup pip

This commit is contained in:
Andros Fenollosa 2018-08-31 09:02:28 +02:00
parent 402adec0c5
commit 03782633ed
3 changed files with 27 additions and 1 deletions

2
.gitignore vendored
View File

@ -102,3 +102,5 @@ venv.bak/
# mypy
.mypy_cache/
.vscode/

View File

@ -8,7 +8,7 @@ import time
import calendar
import shutil
EXTENSIONS = ('jpg', 'jpeg')
EXTENSIONS = ('jpg', 'jpeg', 'gif')
@click.command()
@click.argument('path')

24
setup.py Normal file
View File

@ -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
'''
)