blob: 4b52a9daa1f214a680f8fb0c67e306b84954e61e [file] [log] [blame]
package: infra/tools/luci/vpython-native/${platform}
description: >
vpython is a VirtualEnv Python bootstrap tool.
This version includes vpython named as 'python' to allow for transparent
replacement of the system python. This makes an especially good pairing
with the chromium hermetic python bundle.
platforms:
- linux-386
- linux-amd64
- linux-arm64
- linux-armv6l
- linux-mipsle
- linux-mips64
- linux-mips64le
- linux-ppc64
- linux-ppc64le
- linux-s390x
- mac-amd64
- mac-arm64
- windows-386
- windows-amd64
go_build_environ:
CGO_ENABLED:
darwin: 1 # native Go DNS resolved is buggy on OSX (crbug.com/803673)
linux: 0 # to avoid linking to system dynamic libraries
windows: 0 # we have no cgo toolchain on Windows
go_packages:
- infra/tools/vpython
root: ../../go/bin
copies:
- src: vpython${exe_suffix}
dst: python${exe_suffix}
generate_bat_shim: true
posix_symlinks:
- src: python
dst: python2
- src: python
dst: python2.7
data:
- version_file: .versions/python${exe_suffix}.cipd_version