#!/usr/bin/env python

from setuptools import setup, find_packages
import sys
import os.path

if sys.version_info < (3, 8, 0):
    sys.stderr.write("ERROR: You need Python 3.8 or later to use osxmetadata.\n")
    exit(1)

# we'll import stuff from the source tree, let's ensure is on the sys path
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))

# read the contents of README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
    long_description = f.read()

about = {}
with open(
    os.path.join(this_directory, "exif2spotlight", "_version.py"),
    mode="r",
    encoding="utf-8",
) as f:
    exec(f.read(), about)

setup(
    name="exif2spotlight",
    version=about["__version__"],
    description="Read exif metadata from images with exiftool and write to MacOS Spotlight searchable extended attributes",
    long_description=long_description,
    long_description_content_type="text/markdown",
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/RhetTbull/exif2spotlight",
    project_urls={"GitHub": "https://github.com/RhetTbull/exif2spotlight"},
    download_url="https://github.com/RhetTbull/exif2spotlight",
    packages=find_packages(exclude=["tests", "utils"]),
    license="License :: OSI Approved :: MIT License",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: MacOS X",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: MacOS :: MacOS X",
        "Programming Language :: Python :: 3.8",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    install_requires=["click", "osxmetadata", "osxphotos"],
    python_requires=">=3.8",
    entry_points={"console_scripts": ["exif2spotlight=exif2spotlight.cli:cli"]},
)

#!/usr/bin/env python

from setuptools import setup, find_packages
import sys
import os.path

if sys.version_info < (3, 8, 0):
    sys.stderr.write("ERROR: You need Python 3.8 or later to use osxmetadata.\n")
    exit(1)

# we'll import stuff from the source tree, let's ensure is on the sys path
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))

# read the contents of README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
    long_description = f.read()

about = {}
with open(
    os.path.join(this_directory, "exif2spotlight", "_version.py"),
    mode="r",
    encoding="utf-8",
) as f:
    exec(f.read(), about)

setup(
    name="exif2spotlight",
    version=about["__version__"],
    description="Read exif metadata from images with exiftool and write to MacOS Spotlight searchable extended attributes",
    long_description=long_description,
    long_description_content_type="text/markdown",
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/RhetTbull/exif2spotlight",
    project_urls={"GitHub": "https://github.com/RhetTbull/exif2spotlight"},
    download_url="https://github.com/RhetTbull/exif2spotlight",
    packages=find_packages(exclude=["tests", "utils"]),
    license="License :: OSI Approved :: MIT License",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: MacOS X",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: MacOS :: MacOS X",
        "Programming Language :: Python :: 3.8",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    install_requires=["click", "osxmetadata", "osxphotos"],
    python_requires=">=3.8",
    entry_points={"console_scripts": ["exif2spotlight=exif2spotlight.cli:cli"]},
)

#!/usr/bin/env python # we'll import stuff from the source tree, let's ensure is on the sys path # read the contents of README file