This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.py
103 lines (98 loc) · 2.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# 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 __future__ import absolute_import
import os
from setuptools import find_packages
from setuptools import setup
here = os.path.dirname(__file__)
setup(
name='relengapi',
version=open(os.path.join(here, 'VERSION')).read().strip(),
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.3.0",
"Flask-BrowserID",
"Sphinx>=1.3",
"SQLAlchemy>=0.9.4",
"celery>=3.1.22", # see https://bugzilla.mozilla.org/show_bug.cgi?id=1254340
"alembic>=0.7.0",
"requests",
"wrapt",
"itsdangerous>=0.24", # 0.23 can sometimes raise TypeError while de-serializing JWTs
"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",
"bzrest>=1.1",
"structlog",
"mozdef-client",
"requests-futures",
"taskcluster",
],
extras_require={
'test': [
'MySQL-python',
'codecov',
'coverage',
'coverage',
'isort',
'mock',
'mockcache',
'mockldap',
'moto',
'nose',
'pep8',
'pyflakes',
],
# 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',
)