diff options
| -rw-r--r-- | tools/install_venv_common.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/install_venv_common.py b/tools/install_venv_common.py index a92e4ab8..5cef2555 100644 --- a/tools/install_venv_common.py +++ b/tools/install_venv_common.py @@ -25,6 +25,13 @@ import os import subprocess import sys + +possible_topdir = os.getcwd() +if os.path.exists(os.path.join(possible_topdir, "openstackclient", + "__init__.py")): + sys.path.insert(0, possible_topdir) + + from openstackclient.openstack.common import cfg |
