Skip to content

Commit

Permalink
Fix doc build failure due to SQLAlchemy changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshmahajan-1903 committed Aug 17, 2023
1 parent 1adde60 commit 7accec4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en_US/build_code_snippet.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

if sys.path[0] != root:
sys.path.insert(0, root)

import config
from pgadmin.utils import PgAdminModule

target = open('code_snippets.rst', 'w')
Expand Down
8 changes: 7 additions & 1 deletion pkg/pip/setup_pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ def load_source(name, path):
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
#config = load_source('APP_VERSION', '../web/config.py')

setup(
name='pgadmin4',
Expand Down

0 comments on commit 7accec4

Please sign in to comment.