import os
from setuptools import setup

this = os.path.dirname(os.path.realpath(__file__))


def read(name):
    with open(os.path.join(this, name)) as f:
        return f.read()


setup(
    name="sqlalchemy_mptt",
    version="0.2.5",
    url="http://github.com/uralbash/sqlalchemy_mptt/",
    author="Svintsov Dmitry",
    author_email="sacrud@uralbash.ru",
    packages=["sqlalchemy_mptt"],
    include_package_data=True,
    zip_safe=False,
    test_suite="nose.collector",
    license="MIT",
    description="SQLAlchemy MPTT mixins (Nested Sets)",
    long_description=read("README.rst") + "\n" + read("CHANGES.rst"),
    install_requires=read("requirements.txt"),
    tests_require=read("requirements.txt") + read("requirements-test.txt"),
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "Natural Language :: English",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Framework :: Pyramid",
        "Framework :: Flask",
        "Topic :: Internet",
        "Topic :: Database",
        "License :: OSI Approved :: MIT License",
    ],
)

import os
from setuptools import setup

this = os.path.dirname(os.path.realpath(__file__))


def read(name):
    with open(os.path.join(this, name)) as f:
        return f.read()


setup(
    name="sqlalchemy_mptt",
    version="0.2.5",
    url="http://github.com/uralbash/sqlalchemy_mptt/",
    author="Svintsov Dmitry",
    author_email="sacrud@uralbash.ru",
    packages=["sqlalchemy_mptt"],
    include_package_data=True,
    zip_safe=False,
    test_suite="nose.collector",
    license="MIT",
    description="SQLAlchemy MPTT mixins (Nested Sets)",
    long_description=read("README.rst") + "\n" + read("CHANGES.rst"),
    install_requires=read("requirements.txt"),
    tests_require=read("requirements.txt") + read("requirements-test.txt"),
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "Natural Language :: English",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Framework :: Pyramid",
        "Framework :: Flask",
        "Topic :: Internet",
        "Topic :: Database",
        "License :: OSI Approved :: MIT License",
    ],
)

clean up