-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
50 lines (44 loc) · 1.42 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/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']}
)