import os
import sys

from setuptools import setup

with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
    README = readme.read()

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

if sys.version_info.major > 2:
    install_requires = ['Django>=1.8']
else:
    install_requires = ['Django>=1.8,<2.1']

setup(
    name='django-admin-view-permission',
    version='1.7',
    packages=['admin_view_permission'],
    include_package_data=True,
    license='BSD License',
    description='A simple Django app which adds view permissions.',
    long_description=README,
    keywords=['django', 'admin'],
    url='http://django-admin-view-permission.readthedocs.org/',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Framework :: Django :: 1.9',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
    install_requires=install_requires,
)

@@ -454,17 +454,17 @@
 sion='1.
-7
+8
 ',%0A    p

Version 1.8.