-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (47 loc) · 1.73 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
"""Setup module to allow packaging, distributing and pip installing"""
from setuptools import setup
from image_sorting_tool import __version__ as version
REQUIREMENTS = ["Pillow~=11.0.0", "python-dateutil~=2.8"]
DEV_REQUIREMENTS = {
"dev": [
"pytest==8.3.*",
"pylint==3.3.*",
"black==24.10.*",
"setuptools==75.2.*",
]
}
with open("README.md", encoding="utf-8") as readme_file:
LONG_DESCRIPTION = "".join(readme_file.readlines())
setup(
name="image-sorting-tool",
version=version,
url="https://github.com/ThorpeJosh/image-sorting-tool",
license="MIT",
author="Joshua Thorpe",
author_email="[email protected]",
description="Graphical tool to sort images into a folder structure based on the date the images were taken",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
keywords=["image", "sort", "gui", "executable"],
packages=["image_sorting_tool"],
include_package_data=True,
install_requires=REQUIREMENTS,
extras_require=DEV_REQUIREMENTS,
python_requires=">=3.9, <3.14",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
],
entry_points={
"gui_scripts": ["image-sorting-tool=image_sorting_tool.__main__:run"],
},
)