import os
from setuptools import setup, find_packages


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()


setup(
    name="django-pgallery",
    version=__import__("pgallery").__version__,
    description="Photo gallery app for PostgreSQL and Django.",
    long_description=read("README.rst"),
    author="Zbigniew Siciarz",
    author_email="zbigniew@siciarz.net",
    url="https://github.com/zsiciarz/django-pgallery",
    download_url="https://pypi.python.org/pypi/django-pgallery",
    license="MIT",
    install_requires=[
        "Django>=2.0,<3.0",
        "Pillow",
        "psycopg2>=2.5",
        "django-markitup>=3.5",
        "django-model-utils>=4.0",
    ],
    packages=find_packages(exclude=["tests"]),
    include_package_data=True,
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Environment :: Web Environment",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Framework :: Django",
        "Framework :: Django :: 2.0",
        "Framework :: Django :: 2.1",
        "Framework :: Django :: 2.2",
        "Topic :: Utilities",
    ],
)
