-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
executable file
·109 lines (98 loc) · 2.46 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
104
105
106
107
108
109
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# yapf:disable
from __future__ import absolute_import, division, print_function
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.md') as readme_file:
readme = readme_file.read()
base_requirements = [
'future',
'futures',
'requests',
]
server_requirements = [
'redis',
'python-etcd',
'semantic_version',
'flask',
'Flask>=0.10.1',
'flask-cors',
'gunicorn>=19.7',
"gevent",
]
cli_requirements = [
'urllib3<1.22',
'tabulate',
'termcolor',
'pyyaml',
"pathspec",
]
extra_requirements = [
'urllib3[secure]<1.22',
'pyopenssl',
'jinja2>=2.8',
'jsonpatch',
'tabulate',
'ecdsa',
'cryptography',
]
optional_requirements = ['jsonnet']
test_requirements = [
"pytest",
"coverage",
"pytest-cov",
"pytest-ordering",
"requests-mock"
"coverage>=4.0",
"flake8",
"pytest-flask>=0.10.0",
"tox>=2.1.1",
"sphinxcontrib-napoleon",
"gunicorn>=0.19",
]
requirements = base_requirements + cli_requirements + server_requirements + extra_requirements
setup(
name='appr',
version='0.7.4',
description="cloud-native app registry server",
long_description=readme,
author="Antoine Legrand",
author_email='[email protected]',
url='https://github.com/app-registry/appr-server',
packages=[
'appr',
'appr.commands',
'appr.plugins',
'appr.formats',
'appr.formats.helm',
'appr.formats.appr',
'appr.tests',
'appr.api',
'appr.api.impl',
'appr.models',
'appr.models.kv',
'appr.models.kv.etcd',
'appr.models.kv.redis',
'appr.models.kv.filesystem',
],
scripts=['bin/appr', 'bin/apprc'],
package_dir={'appr': 'appr'},
include_package_data=True,
install_requires=requirements,
license="Apache License version 2",
zip_safe=False,
keywords=['apprclient', 'apprclientpy', 'kubernetes'],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
],
setup_requires=['pytest-runner'],
test_suite='tests',
dependency_links=['https://github.com/requests/requests/tarball/master#egg=requests'],
tests_require=test_requirements,)