-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
59 lines (55 loc) · 1.8 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
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-containerlib",
version=find_version("pygluu", "containerlib", "__init__.py"),
url="https://github.com/GluuFederation/pygluu-containerlib",
license="Apache License 2.0",
author="Gluu",
author_email="isman@gluu.org",
description="",
long_description=__doc__,
packages=find_packages(),
zip_safe=False,
install_requires=[
"requests>=2.22.0",
"python-consul>=1.0.1",
"hvac>=0.7.0",
"kubernetes",
"ldap3>=2.5",
"backoff>=2.1.2",
"docker>=3.7.2",
"requests-toolbelt>=0.9.1",
"cryptography>=2.8",
"pymysql>=1.0.2",
"sqlalchemy>=1.3,<1.4",
"psycopg2>=2.8.6",
"google-cloud-spanner>=3.3.0",
"boto3>=1.26.21",
"google-cloud-secret-manager>=2.2.0",
],
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache License 2.0",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
include_package_data=True,
python_requires=">=3.8.0",
)