forked from GluuFederation/cloud-native-edition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (66 loc) · 2.12 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
"""
License terms and conditions for Gluu Cloud Native Edition:
https://www.apache.org/licenses/LICENSE-2.0
"""
import codecs
import os
import re
from setuptools import setup
from setuptools import find_packages
def find_version(*file_paths):
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, *file_paths), 'r') as f:
version_file = f.read()
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
version_file, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
setup(
name="pygluu-kubernetes",
version=find_version("pygluu", "kubernetes", "version.py"),
url="",
copyright="Copyright 2021, Gluu Cloud Native Edition",
license="Apache 2.0 <https://www.apache.org/licenses/LICENSE-2.0>",
author="Gluu",
author_email="[email protected]",
maintainer="Mohammad Abudayyeh",
status="Dev",
description="",
long_description=__doc__,
packages=find_packages(),
zip_safe=False,
install_requires=[
"ruamel.yaml>=0.16.5",
"pyOpenSSL>=19.1.0",
"cryptography>=2.8",
"kubernetes==19.15.0a1",
# "jinja2<3.1.0",
"Flask>=1.1.2",
"Click!=7.0,>=6.7",
"Flask-WTF >= 0.14.2",
"email_validator >= 1.1.0",
"Flask-SocketIO >= 4.3.1",
"python-engineio >= 3.13.2",
"python-socketio >= 4.6.0",
"Pygtail >= 0.11.1",
"PyYAML >= 5.4.1",
"gunicorn >= 20.0.4",
"gevent >= 20.9.0",
],
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache 2.0 License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
"Programming Language :: Python :: 3s",
"Programming Language :: Python :: 3.6",
],
include_package_data=True,
entry_points={
"console_scripts": [
"pygluu-kubernetes=pygluu.kubernetes.create:main",
"pygluu-kubernetes-gui=pygluu.kubernetes.gui.server:run",
],
},
)