Hi,

I am adding some networking tests to autotest.  I have modified the Exscript 
library https://github.com/knipknap/exscript to support some Brocade switches.

For server-side use I added Exscript to autotest/site-packages.  I would like 
to use Exscript client side, I'm thinking of putting in it 
autotest/client/site-packages, but that would requires modifying 
client/setup_modules.py to update sys.path.

Something like:

diff --git a/client/setup_modules.py b/client/setup_modules.py
index 619702b..845637f 100644
--- a/client/setup_modules.py
+++ b/client/setup_modules.py
@@ -140,4 +140,6 @@ def setup(base_path, root_module_name=""):
         # may use libraries other than those available as system packages.
         sys.path.insert(0, os.path.join(base_path, "site-packages"))

+    sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 
'site-packages')))

     _monkeypatch_logging_handle_error()


Are the any recommendations for adding client side site-packages?

Thanks,
Ross Brattain
Intel LAD SW Linux DCB/FCoE Validation
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to