import os
from setuptools import setup


def read_relative_file(filename):
    """Returns contents of the given file, which path is supposed relative
    to this module."""
    with open(os.path.join(os.path.dirname(__file__), filename)) as f:
        return f.read()


NAME = 'django-genericfilters-demo'
README = read_relative_file('README')
VERSION = '0.1'
PACKAGES = ['demoproject']
REQUIRES = [
    'django-generic-filters',
    'mock',
    'Django>=1.8,<1.12',
    'coverage', ]


setup(name=NAME,
      version=VERSION,
      description='Demo project for django-generic-filters.',
      long_description=README,
      classifiers=['Development Status :: 1 - Planning',
                   'License :: OSI Approved :: BSD License',
                   'Programming Language :: Python :: 3',
                   'Framework :: Django',
                   ],
      keywords='class-based view, generic view, filters',
      author='Novapost',
      author_email='peopleask@novapost.fr',
      url='https://github.com/novapost/django-generic-filters',
      license='BSD',
      packages=PACKAGES,
      include_package_data=True,
      zip_safe=False,
      install_requires=REQUIRES,
      entry_points={
          'console_scripts': [
              'demo = demoproject.manage:main',
          ]
      },
      )

import os
from setuptools import setup, find_packages


def read_relative_file(filename):
    """Returns contents of the given file, which path is supposed relative
    to this module."""
    with open(os.path.join(os.path.dirname(__file__), filename)) as f:
        return f.read()


NAME = 'django-genericfilters-demo'
README = read_relative_file('README')
VERSION = '0.1'
PACKAGES = find_packages()
REQUIRES = [
    'django-generic-filters',
    'mock',
    'Django',
    'coverage', ]


setup(name=NAME,
      version=VERSION,
      description='Demo project for django-generic-filters.',
      long_description=README,
      classifiers=['Development Status :: 1 - Planning',
                   'License :: OSI Approved :: BSD License',
                   'Programming Language :: Python :: 3',
                   'Framework :: Django',
                   ],
      keywords='class-based view, generic view, filters',
      author='Novapost',
      author_email='peopleask@novapost.fr',
      url='https://github.com/novapost/django-generic-filters',
      license='BSD',
      packages=PACKAGES,
      include_package_data=True,
      zip_safe=False,
      install_requires=REQUIRES,
      entry_points={
          'console_scripts': [
              'demo = demoproject.manage:main',
          ]
      },
      )

Fix demo. And *actually* test new Django versions
Fix demo. And *actually* test new Django versions
