Skip to content

Commit a917ba2

Browse files
author
vshepard
committed
Add testgres.plugins to plugin
1 parent 1321a8f commit a917ba2

File tree

9 files changed

+28
-1
lines changed

9 files changed

+28
-1
lines changed

testgres/plugins/__init__.py

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from pg_probackup2.gdb import GDBobj
2+
from pg_probackup2.app import ProbackupApp, ProbackupException
3+
from pg_probackup2.init_helpers import init_params
4+
from pg_probackup2.storage.fs_backup import FSTestBackupDir
5+
6+
7+
__all__ = [
8+
"ProbackupApp", "ProbackupException", "init_params", "FSTestBackupDir", "GDBobj"
9+
]

testgres/plugins/pg_probackup2/pg_probackup2/storage/__init__.py

Whitespace-only changes.

testgres/plugins/probackup/storage/fs_backup.py renamed to testgres/plugins/pg_probackup2/pg_probackup2/storage/fs_backup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import os
55
import shutil
66

7-
from testgres.plugins.probackup.init_helpers import init_params
7+
from ..init_helpers import init_params
88

99

1010
class TestBackupDir:
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
try:
2+
from setuptools import setup
3+
except ImportError:
4+
from distutils.core import setup
5+
6+
setup(
7+
version='0.0.1',
8+
name='testgres_pg_probackup2',
9+
packages=['pg_probackup2', 'pg_probackup2.storage'],
10+
description='Plugin for testgres that manages pg_probackup2',
11+
url='https://github.com/postgrespro/testgres',
12+
long_description_content_type='text/markdown',
13+
license='PostgreSQL',
14+
author='Postgres Professional',
15+
author_email='[email protected]',
16+
keywords=['pg_probackup', 'testing', 'testgres'],
17+
install_requires=['testgres>=1.9.2']
18+
)

0 commit comments

Comments
 (0)