[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. example/
  2. libs/
  3. proto/
  4. tests/
  5. third_party/
  6. tools/
  7. utils/
  8. .gitignore
  9. auth.py
  10. cipd.py
  11. isolate.py
  12. isolate_format.py
  13. isolate_storage.py
  14. isolated_format.py
  15. isolateserver.py
  16. LICENSE
  17. local_caching.py
  18. LUCI_CONTEXT.md
  19. OWNERS
  20. PRESUBMIT.py
  21. README.md
  22. README.py
  23. run_isolated.py
  24. swarming.py
  25. trace_inputs.py
  26. WATCHLISTS
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.