import os
from setuptools import setup, find_packages

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))


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


EXCLUDE_FROM_PACKAGES = ['build', 'dist', 'docs', 'tests']

setup(
    name='django-settings-startup',
    keywords='django settings startup',
    packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
    version=read('VERSION').rstrip(),
    include_package_data=True,
    license=read('LICENSE'),
    description='A simple Django app to see settings on startup.',
    long_description=read('README.rst'),
    url='https://github.com/glegoux/django-settings-startup/',
    author='<NAME>',
    author_email='<EMAIL>',
    maintainer='<NAME>',
    maintainer_email='<EMAIL>',
    tests_require=['Django>=1.8.5'],
    test_suite='tests',
    platforms='any',
    zip_safe=False,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Framework :: Django :: 1.8',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
)

import os
from setuptools import setup, find_packages

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))


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


EXCLUDE_FROM_PACKAGES = ['build', 'dist', 'docs', 'tests']

setup(
    name='django-settings-startup',
    keywords='django settings startup',
    packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
    version=read('VERSION').rstrip(),
    include_package_data=True,
    license=read('LICENSE'),
    description='A simple Django app to see settings on startup.',
    long_description=read('README.rst'),
    url='https://github.com/glegoux/django-settings-startup/',
    author='<NAME>',
    author_email='<EMAIL>',
    maintainer='<NAME>',
    maintainer_email='<EMAIL>',
    tests_require=['Django>=1.8.5'],
    test_suite='tests',
    platforms='any',
    zip_safe=False,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Framework :: Django :: 1.8',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
)

# allow setup.py to be run from any path