commit | cd28285fe2b5ded6c12a0688e2e694c3c4e2e7f4 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Thu Feb 14 21:41:18 2019 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Sun Feb 17 14:06:24 2019 -0800 |
tree | 959806fc7f6479fcf18ad2d3730b23de873a288d | |
parent | 99f27543656a8bea44b7ba0ab6ea91f824d45537 [diff] |
Create py2-cmd which behaves more like the normal `python` Instead of executing the __main__.py inside the par file, it'll use all the normal python command line options, allowing you to replace python in $PATH with this executable. Also add distutils, which some script expect to be in the stdlib. Bug: 117811537 Test: move py2-cmd to prebuilts/build-tools/path/linux-x86/python and build Change-Id: Iddab6ab4db23f99953ecf4d42cd7d966851b1e1b