diff options
author | 2015-10-25 06:15:56 +0200 | |
---|---|---|
committer | 2015-10-25 06:15:56 +0200 | |
commit | 18f99983b868cba14795cce8a8b3a54328ddaab7 (patch) | |
tree | a9266c3a853dce1a58508a70d170200ae2fc20bb | |
parent | ebb0b48faca96bad7bfe8da0bf80df7c7c80350d (diff) | |
parent | ed13067343186b5dad0566962cd308445136f3b7 (diff) |
Merge branch 'master' into dan_stateless
-rwxr-xr-x | scripts/automation/trex_control_plane/doc/conf.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/doc/conf.py b/scripts/automation/trex_control_plane/doc/conf.py index 46d0435d..aeee475f 100755 --- a/scripts/automation/trex_control_plane/doc/conf.py +++ b/scripts/automation/trex_control_plane/doc/conf.py @@ -24,6 +24,13 @@ sys.path.insert(0, os.path.abspath('../client')) sys.path.insert(0, os.path.abspath('../client_utils')) sys.path.insert(0, os.path.abspath('../examples')) sys.path.insert(0, os.path.abspath('../common')) +## add all external libs path manually +external_libs_path = os.path.join(os.pardir, os.pardir, os.pardir, "external_libs") +external_libs_pkgs = [os.path.join(external_libs_path, p) + for p in os.listdir(external_libs_path) + if os.path.isdir(os.path.join(external_libs_path, p))] +for p in external_libs_pkgs: + sys.path.insert(1, p) # -- General configuration ------------------------------------------------ |