[client] Update client code to make it compatible with python3

I also updated utils/tools.py to use different way to get absolute
path to client folder when it is not running from a zip file,
otherwise unit tests will be failed, since it will be failed to
find six module in third_party folder.

Bug: 942720
Change-Id: Id414f10f1f417240c0b59b882364c56eab9f3a72
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-py/+/1637369
Commit-Queue: Lei Lei <leilei@chromium.org>
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
Cr-Mirrored-From: https://chromium.googlesource.com/infra/luci/luci-py
Cr-Mirrored-Commit: 7c5a5879d897dbe828854184db609dbe630a1407
18 files changed
tree: 4e085f819caa3d254ab65b4a94fd769c598af829
  1. .gitignore
  2. LICENSE
  3. LUCI_CONTEXT.md
  4. OWNERS
  5. PRESUBMIT.py
  6. README.md
  7. README.py
  8. WATCHLISTS
  9. auth.py
  10. cipd.py
  11. example/
  12. isolate.py
  13. isolate_format.py
  14. isolate_storage.py
  15. isolated_format.py
  16. isolateserver.py
  17. libs/
  18. local_caching.py
  19. proto/
  20. run_isolated.py
  21. swarming.py
  22. tests/
  23. third_party/
  24. tools/
  25. trace_inputs.py
  26. utils/
README.md

LUCI Python Client

This is the Python Client code for LUCI. It's part of the main python repo, and is also mirrored into a standalone client-py repo.

To contribute changes you need to clone the main python repo and then use git cl upload. The client-py repo mirror (which appears in Chromium's third_party directory) cannot be contributed to directly.

License

This project is licensed under Apache v2.0 license. See LICENSE for details.