6923: Improve Arvados SDK version logging in Crunch run script.
authorBrett Smith <brett@curoverse.com>
Mon, 9 Nov 2015 15:13:21 +0000 (10:13 -0500)
committerBrett Smith <brett@curoverse.com>
Wed, 18 Nov 2015 22:58:54 +0000 (17:58 -0500)
commit04784067f7f39e15161cc165365aa2d0552dc219
tree86a7a2294b29cdb5a4d07a9415da51a608ba1d75
parent58692c916bb6dfe2997838ca4147109d9410c86a
6923: Improve Arvados SDK version logging in Crunch run script.

* Use a mechanism that works in a wider variety of containers.  This
  only depends on Python itself and setuptools.  It won't generate
  spurious warnings by calling dpkg-query on Red Hat containers.
* Don't log the version when we successfully set up the specified
  arvados_sdk_version.  The version will only be '0.1' in this case,
  and that's not helpful.
sdk/cli/bin/crunch-job