forked from mozilla/build-relengapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
91 lines (89 loc) · 2.48 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import find_packages
from setuptools import setup
setup(
name='relengapi',
version='3.2.1',
description='The code behind https://api.pub.build.mozilla.org',
author='Dustin J. Mitchell',
author_email='[email protected]',
url='https://api.pub.build.mozilla.org',
install_requires=[
"Flask",
"Flask-Login>=0.2.11",
"Flask-Browserid",
"Sphinx>=1.3",
"SQLAlchemy>=0.9.4",
"Celery>=3.1.16", # see https://github.com/mozilla/build-relengapi/issues/145
"alembic>=0.7.0",
"argparse",
"requests",
"wrapt",
"blinker", # required to use flask signals
"pytz",
"wsme<0.8", # see https://github.com/mozilla/build-relengapi/issues/325
"croniter",
"python-dateutil",
"simplejson",
"boto",
"python-memcached",
"elasticache-auto-discovery",
"IPy",
"furl",
"redo",
# Temporary freeze until https://github.com/bhearsum/bzrest/pull/3 is fixed
"bzrest==0.9",
"structlog",
],
extras_require={
'test': [
'nose',
'mock',
'coverage',
'pep8',
'mockldap',
'pyflakes',
'moto',
'mockcache',
],
# extras required only for LDAP authorization support
'ldap': [
'python-ldap',
],
},
packages=find_packages(),
include_package_data=True,
zip_safe=False,
package_data={ # NOTE: these files must *also* be specified in MANIFEST.in
'relengapi': [
'docs/**.rst',
'docs/**.py',
'docs/**.css',
],
'relengapi.blueprints': [
'*/templates/**.html',
'*/static/**.jpg',
'*/static/**.css',
'*/static/**.js',
'*/static/**.map',
'*/static/**.txt',
'*/static/**.eot',
'*/static/**.svg',
'*/static/**.ttf',
'*/static/**.woff',
],
'relengapi.alembic' : [
'*.ini',
'*.py',
'*.mako',
],
},
entry_points={
"console_scripts": [
'relengapi = relengapi.cmd:main',
],
},
license='MPL2',
)