# -*- coding: utf-8 -*-

from __future__ import absolute_import, unicode_literals

import os

from setuptools import find_packages, setup

version = __import__('filer').__version__


def read(fname):
    # read the contents of a text file
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name="django-filer",
    version=version,
    url='http://github.com/divio/django-filer',
    license='BSD',
    platforms=['OS Independent'],
    description="A file management application for django that makes handling "
                "of files and images a breeze.",
    long_description=read('README.rst'),
    author='Stefan Foulis',
    author_email='stefan@foulis.ch',
    packages=find_packages(),
    install_requires=(
        'Django>=1.8,<1.11.999',  # Django is known to use rc versions
        'easy-thumbnails>=2,<3.0',
        'django-mptt>=0.6,<0.9',  # the exact version depends on Django
        'django_polymorphic>=0.7,<2.1',
        'Unidecode>=0.04,<0.05',
    ),
    include_package_data=True,
    zip_safe=False,
    # https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP',
        'Framework :: Django',
        'Framework :: Django :: 1.8',
        'Framework :: Django :: 1.9',
        'Framework :: Django :: 1.10',
        'Framework :: Django :: 1.11',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ],
)

setup.py
# -*- coding: utf-8 -*-

from __future__ import absolute_import, unicode_literals

import os

from setuptools import find_packages, setup

version = __import__('filer').__version__


def read(fname):
    # read the contents of a text file
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name="django-filer",
    version=version,
    url='http://github.com/divio/django-filer',
    license='BSD',
    platforms=['OS Independent'],
    description="A file management application for django that makes handling "
                "of files and images a breeze.",
    long_description=read('README.rst'),
    author='Stefan Foulis',
    author_email='stefan@foulis.ch',
    packages=find_packages(),
    install_requires=(
        'Django>=1.8,<1.11.999',  # Django is known to use rc versions
        'easy-thumbnails>=2,<3.0',
        'django-mptt>=0.6,<0.10',  # the exact version depends on Django
        'django_polymorphic>=0.7,<2.1',
        'Unidecode>=0.04,<0.05',
    ),
    include_package_data=True,
    zip_safe=False,
    # https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP',
        'Framework :: Django',
        'Framework :: Django :: 1.8',
        'Framework :: Django :: 1.9',
        'Framework :: Django :: 1.10',
        'Framework :: Django :: 1.11',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ],
)

setup.py
diff --git a/setup.py b/setup.py
index 0a1939076..f7cb42acc 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ def read(fname):
     install_requires=(
         'Django>=1.8,<1.11.999',  # Django is known to use rc versions
         'easy-thumbnails>=2,<3.0',
-        'django-mptt>=0.6,<0.9',  # the exact version depends on Django
+        'django-mptt>=0.6,<0.10',  # the exact version depends on Django
         'django_polymorphic>=0.7,<2.1',
         'Unidecode>=0.04,<0.05',
     ),
diff --git a/test_requirements/django-1.11.txt b/test_requirements/django-1.11.txt
index f993e46e8..d8db4cf23 100644
--- a/test_requirements/django-1.11.txt
+++ b/test_requirements/django-1.11.txt
@@ -1,6 +1,6 @@
 django>=1.11,<2.0
-django-mptt>=0.8,<0.9
-djangocms-helper>=0.9.2,<0.10
+django-mptt>=0.8,<0.10
+djangocms-helper>=1.0,<1.2
 django_polymorphic>=2.0,<2.1
 coverage
 

django-mptt<0.9
Is there any good reason to limit django-mptt to `<0.9`?
