/
setup.py
36 lines (32 loc) · 1.2 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
import os
from setuptools import setup
import mobiledetect
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "pymobiledetect",
version = mobiledetect.__version__,
author = "Bas van Oostveen",
author_email = "v.oostveen@gmail.com",
description = "Detect mobile and tablet browsers",
license = "AGPL",
keywords = "mobile tabled detect browser",
url = "https://bitbucket.org/trbs/pymobiledetect/overview",
packages=['mobiledetect', 'mobiledetect.test'],
package_data={
'mobiledetect': ['Mobile_Detect.json'],
'mobiledetect.test': ['test_user_agents.json']},
test_suite='nose.collector',
long_description=read('README'),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
"Topic :: Software Development :: Libraries",
],
)