forked from mozilla/ichnaea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
72 lines (64 loc) · 1.76 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import os
import sys
from setuptools import setup, find_packages
__version__ = '0.2'
here = os.path.abspath(os.path.dirname(__file__))
requires = [
'celery',
'Chameleon',
'circus',
'colander',
'configparser',
'cornice',
'gunicorn',
'heka-py',
'konfig',
'PyMySQL',
'SQLAlchemy',
]
if sys.version_info < (2, 7):
requires.append('argparse')
test_requires = requires + [
'beautifulsoup4',
'coverage',
'nose',
'unittest2',
'Webtest',
]
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.rst')) as f:
CHANGES = f.read()
setup(
name='ichnaea',
version=__version__,
description='Mozilla Location Service - Ichnaea',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application"
],
keywords="web services geo location",
author='Mozilla Cloud Services',
author_email='services-dev@mozilla.org',
url='https://github.com/mozilla/ichnaea',
license="Apache 2.0",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=test_requires,
test_suite="ichnaea",
extras_require={'test': test_requires},
entry_points="""\
[console_scripts]
location_import = ichnaea.importer:console_entry
""",
)