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 edd1783 commit b064cbb
Show file tree
Hide file tree
Showing 2 changed files with 7 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
7 changes: 6 additions & 1 deletion pkg/pip/setup_pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ 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

setup(
name='pgadmin4',
Expand Down

0 comments on commit b064cbb

Please sign in to comment.