Add setup pip
This commit is contained in:
parent
402adec0c5
commit
03782633ed
2
.gitignore
vendored
2
.gitignore
vendored
@ -102,3 +102,5 @@ venv.bak/
|
|||||||
|
|
||||||
# mypy
|
# mypy
|
||||||
.mypy_cache/
|
.mypy_cache/
|
||||||
|
|
||||||
|
.vscode/
|
||||||
|
@ -8,7 +8,7 @@ import time
|
|||||||
import calendar
|
import calendar
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
EXTENSIONS = ('jpg', 'jpeg')
|
EXTENSIONS = ('jpg', 'jpeg', 'gif')
|
||||||
|
|
||||||
@click.command()
|
@click.command()
|
||||||
@click.argument('path')
|
@click.argument('path')
|
||||||
|
24
setup.py
Normal file
24
setup.py
Normal 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
|
||||||
|
'''
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user