from setuptools import setup, find_packages

long_description = (open('README.txt').read() + '\n\n' + open('CHANGES.txt').read())

setup(name = 'ztm.text',
      version = '0.1dev',
      description = "",
      long_description = long_description,
      keywords = 'Text handling',
      author = 'Arnar Lundesgaard',
      author_email = 'arnar.lundesgaard@bouvet.no',
      url = 'http://ztmproject.org/',
      license = 'LGPL',
      classifiers = [ 'Programming Language :: Python'
                    , 'Environment :: Web Environment'
                    , 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application'
                    , 'Topic :: Internet :: WWW/HTTP :: Dynamic Content'
                    , 'Topic :: Internet :: WWW/HTTP :: Indexing/Search'
                    , 'Topic :: Internet :: WWW/HTTP :: Site Management'
                    , 'Framework :: Zope3'
                    , 'Development Status :: 3 - Alpha'
                    , 'Intended Audience :: Developers'
                    , 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)'
                    , 'Operating System :: MacOS :: MacOS X'
                    , 'Operating System :: Microsoft :: Windows'
                    , 'Operating System :: POSIX'
                    ],
      packages = find_packages('src'),
      package_dir = {'': 'src'},
      namespace_packages = ['ztm'],
      include_package_data = True,
      extras_require = { 'test': [ 'zope.app.testing'
                                 , 'zope.app.securitypolicy'
                                 , 'zope.app.zcmlfiles'
                                 , 'zope.testbrowser'
                                 , 'zope.formlib'
                                 , 'zope.app.component'
                                 , 'zope.app.server'
                                 ]
                       , 'i18n': [ 'zope.app.zcmlfiles'
                                 , 'cc.gettext'
                                 ]
                       , 'buildout': ['collective.recipe.bootstrap']
                       , 'documentation': [ 'collective.recipe.sphinxbuilder'
                                          , 'repoze.sphinx.autointerface'
                                          , 'sphinxcontrib-aafig'
                                          , 'PIL'
                                          , 'docutils>=0.5'
                                          ]
                       },
      zip_safe=False,
      install_requires=[ 'setuptools'
                       , 'beautifulsoup'
                       ],
      )

