Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

51 lines (44 sloc) 1.456 kb
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
VERSION='1.3dev'
tests_require = []
install_requirements = [
'Beaker',
'mobi.interfaces',
'webob',
'zope.interface',
]
# add simplejson requirement in json not available in python
try:
import json
except ImportError:
install_requirements.append('simplejson')
setup(name='mobi.devices',
version=VERSION,
dependency_links=['http://dist.infrae.com/thirdparty'],
description='Mobile Device detection library and wsgi middlewares',
long_description=open("README.rst").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
author='Antonin Amand at Infrae',
author_email='info@infrae.com',
license="BSD",
url='http://mobi.infrae.com/',
package_dir={'': 'src'},
packages=find_packages('src'),
namespace_packages=['mobi'],
install_requires=install_requirements,
include_package_data=True,
zip_safe=False,
tests_require=tests_require,
extras_require={'test': tests_require},
test_suite='mobi.devices.tests',
entry_points = {
'paste.filter_factory': [
'classifier = '
'mobi.devices.wsgi.devicedetection:'
'device_middleware_filter_factory',
'router = '
'mobi.devices.wsgi.router:'
'router_middleware_filter_factory']}
)
Jump to Line
Something went wrong with that request. Please try again.