Fix doc build failure due to SQLAlchemy changes. #6208

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

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',