from distutils.core import setup # setuptools breaks

# Dynamically calculate the version based on knowledge.VERSION
version_tuple = __import__('knowledge').VERSION
version = '.'.join([str(v) for v in version_tuple])

setup(
    name = 'django-knowledge',
    description = '''A simple frontend and admin interface for dealing with help
        knowledge tickets and issues, including public and private responses and searching.''',
    version = version,
    author = 'Bryan Helmig',
    author_email = 'bryan@zapier.com',
    url = 'http://github.com/zapier/django-knowledge',
    install_requires=['Markdown>=2.1.1','Django>=1.4'],
    packages=['knowledge'],
    package_data={'knowledge': [
      'migrations/*.py',
      'static/knowledge/css/*',
      'templates/django_knowledge/*.html',
      'templates/django_knowledge/emails/*.html',
      'templatetags/*.py',
      'locale/fr/LC_MESSAGES/*']},
    classifiers = ['Development Status :: 3 - Alpha',
                   'Environment :: Web Environment',
                   'Framework :: Django',
                   'Intended Audience :: Developers',
                   'License :: OSI Approved :: BSD License',
                   'Operating System :: OS Independent',
                   'Programming Language :: Python',
                   'Topic :: Utilities'],
)
