Skip to content

Commit be36713

Browse files
[prepare] rename: testgres -> src
Minimal changes. pg_probackup2 was not changed [I think, it is broken now].
1 parent 34cc7d1 commit be36713

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+90
-61
lines changed

.vscode/settings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"python.testing.unittestEnabled": false,
3+
"python.testing.pytestEnabled": true,
4+
5+
"python.testing.pytestArgs": [
6+
"-l",
7+
"-vvv",
8+
"-n", "8"
9+
],
10+
}

create_py_env.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
virtualenv venv
2+
source venv/bin/activate
3+
# pip install -U .
4+
pip install flake8
5+
pip install pytest
6+
pip install pytest-xdist
7+
pip install psycopg2
8+
pip install six
9+
pip install psutil

init_test_env.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export PG_BIN='/usr/local/pgsql/bin'
2+
export PG_CONFIG=${PG_BIN}/pg_config
3+
#export PGPROBACKUPBIN="/home/dima/MY/GitLab2/pg_probackup2/ee/work5/pg_probackup"
4+
export PATH=${PATH}:${PG_BIN}
5+

run_vscode.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source ./init_test_env.sh
2+
3+
code .
4+

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
version='1.11.0',
3131
name='testgres',
3232
packages=['testgres', 'testgres.operations', 'testgres.impl'],
33+
package_dir={"testgres": "src"},
3334
description='Testing utility for PostgreSQL and its extensions',
3435
url='https://github.com/postgrespro/testgres',
3536
long_description=readme,
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)