Fix doc build failure due to SQLAlchemy changes. #6208

This commit is contained in:
Yogesh Mahajan authored and GitHub committed 2023-08-17 14:00:56 +05:30
1 parent edd1783353
commit e2f32c0984
2 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ root = os.path.realpath(
if sys.path[0] != root:
sys.path.insert(0, root)
import config
from pgadmin.utils import PgAdminModule
target = open('code_snippets.rst', 'w')
+6 -1
View File
@@ -48,7 +48,12 @@ for index, req in enumerate(all_requires):
requires.append(req)
# Get the version
config = load_source('APP_VERSION', '../web/config.py')
path = '../web/'
if not os.path.exists(path):
print("ERROR: Could not find %s" % path)
sys.exit(1)
sys.path.append(path)
import config
setup(
name='pgadmin4',