mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix doc build failure due to SQLAlchemy changes. #6208
This commit is contained in:
parent
edd1783353
commit
e2f32c0984
@ -14,7 +14,7 @@ root = os.path.realpath(
|
|||||||
|
|
||||||
if sys.path[0] != root:
|
if sys.path[0] != root:
|
||||||
sys.path.insert(0, root)
|
sys.path.insert(0, root)
|
||||||
|
import config
|
||||||
from pgadmin.utils import PgAdminModule
|
from pgadmin.utils import PgAdminModule
|
||||||
|
|
||||||
target = open('code_snippets.rst', 'w')
|
target = open('code_snippets.rst', 'w')
|
||||||
|
@ -48,7 +48,12 @@ for index, req in enumerate(all_requires):
|
|||||||
requires.append(req)
|
requires.append(req)
|
||||||
|
|
||||||
# Get the version
|
# 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(
|
setup(
|
||||||
name='pgadmin4',
|
name='pgadmin4',
|
||||||
|
Loading…
Reference in New Issue
Block a user