From a211e92ca812dbde8d1e967e9a91a5ced67feace Mon Sep 17 00:00:00 2001 From: John Sirois Date: Thu, 11 Oct 2018 14:44:10 -0400 Subject: [PATCH] Simplify pants.pex creation, leverage -c. This lets the full entry-point live in less places. The `pants` console script will be much more stable and it's easy to remember / ~obviously right. I forgot to leverage the work in https://github.com/pantsbuild/pex/pull/545 when upgrading from pex 1.4.5 to 1.4.8 as part of #5922. --- build-support/bin/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-support/bin/release.sh b/build-support/bin/release.sh index 31679914c55..4cd267f6336 100755 --- a/build-support/bin/release.sh +++ b/build-support/bin/release.sh @@ -614,7 +614,7 @@ function build_pex() { ./${PEX_PEX} \ -o "${dest}" \ - --entry-point="pants.bin.pants_loader:main" \ + --script=pants \ --no-build \ --no-pypi \ --disable-cache \