This repository has been archived by the owner on May 14, 2024. It is now read-only.
forked from EnterpriseDB/postgres-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
85 lines (80 loc) · 2.62 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
import os.path
import sys
from setuptools import setup
from textwrap import dedent
def get_version():
cur_dir = os.path.dirname(__file__)
init_path = os.path.join(cur_dir, "edbdeploy", "__init__.py")
with open(init_path) as f:
for line in f:
if line.startswith("__version__"):
return line.split('"')[1]
raise Exception("Version information not found in %s" % init_path)
def get_long_description():
cur_dir = os.path.dirname(__file__)
with open(os.path.join(cur_dir, "README.md")) as f:
return f.read()
setup(
name="edb-deployment",
version=get_version(),
author="EDB",
author_email="[email protected]",
scripts=["edb-deployment"],
packages=[
"edbdeploy",
"edbdeploy.spec",
"edbdeploy.commands",
"edbdeploy.projects"
],
url="https://github.com/EnterpriseDB/postgres-deployment/",
license="BSD",
description=dedent("""
Postgres Deployment Scripts are an easy way to deploy PostgreSQL, EDB Postgres
Advanced Server, and EDB Tools in the Cloud.
"""),
long_description=get_long_description(),
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Database",
],
keywords="postgresql edb epas cli deploy cloud aws rds aurora azure gcloud vmware",
python_requires=">=2.7",
install_requires=[
"argcomplete",
"PyYAML>=5.1",
"psutil",
"jinja2",
"edb-terraform@https://github.com/EnterpriseDB/edb-terraform/archive/refs/tags/v1.3.0.zip",
],
extras_require={},
data_files=[],
package_data={
'edbdeploy': [
'data/ansible/*.yml',
'data/ansible/roles/*',
'data/ansible/roles/*/*',
'data/ansible/roles/*/*/*',
'data/ansible/roles/*/*/*/*',
'data/terraform/*/*.tf.template',
'data/terraform/*/*.tf',
'data/terraform/*/*/*.tf',
'data/terraform/*/*/*.sh',
'data/terraform/*/*/*/*.tf',
'data/terraform/*/*/*/*.sh',
'data/terraform/*/*/*/*/*.tf',
'data/terraform/*/*/*/*/*.sh',
'data/tpaexec/*/*',
'data/tpaexec/*/*/*',
'data/vmware-wkstn/*.*',
'data/vmware-wkstn/*',
'data/virtualbox/*.*',
'data/virtualbox/*',
'data/templates/*',
]
}
)