#!/usr/bin/env python

import os
from setuptools import setup, find_packages

VERSION='1.0b1'

setup(name='mobi.devices',
      version=VERSION,
      dependency_links=['http://dist.infrae.com/thirdparty'],
      description='Mobile Device management',
      long_description=open("README.txt").read() + "\n" +
                       open(os.path.join("docs", "HISTORY.txt")).read(),
      author='Infrae',
      author_email='info@infrae.com',
      url='infrae.com',
      package_dir={'': 'src'},
      packages=find_packages('src'),
      namespace_packages=['mobi'],
      install_requires=[
        'mobi.caching',
        'mobi.interfaces',
        'python-Levenshtein',
        'pywurfl>=7.0.0',
        'webob',
        'zope.interface',
      ],
      test_requires=[
        'nose',
      ],
      test_suite='nose.collector',
      entry_points = {
        'paste.filter_factory': [
            'classifier = '
              'mobi.devices.wsgi.devicedetection:'
              'device_middleware_filter_factory',
            'router = '
              'mobi.devices.wsgi.router:'
              'router_middleware_filter_factory']}
      )

#!/usr/bin/env python

import os
from setuptools import setup, find_packages

VERSION='1.0b1'

test_requires = ['nose',]

setup(name='mobi.devices',
      version=VERSION,
      dependency_links=['http://dist.infrae.com/thirdparty'],
      description='Mobile Device management',
      long_description=open("README.txt").read() + "\n" +
                       open(os.path.join("docs", "HISTORY.txt")).read(),
      author='Infrae',
      author_email='info@infrae.com',
      license="BSD",
      url='infrae.com',
      package_dir={'': 'src'},
      packages=find_packages('src'),
      namespace_packages=['mobi'],
      install_requires=[
        'mobi.caching',
        'mobi.interfaces',
        'python-Levenshtein',
        'pywurfl>=7.0.0',
        'webob',
        'zope.interface',
      ],
      test_requires=test_requires,
      extras_requires={'test': test_requires},
      test_suite='nose.collector',
      entry_points = {
        'paste.filter_factory': [
            'classifier = '
              'mobi.devices.wsgi.devicedetection:'
              'device_middleware_filter_factory',
            'router = '
              'mobi.devices.wsgi.router:'
              'router_middleware_filter_factory']}
      )

fix setup.py