Skip to content

Commit

Permalink
Remove platform name from pip tar file.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 243112914
  • Loading branch information
Genomics team in Google Brain authored and Copybara-Service committed Apr 11, 2019
1 parent f978fda commit 3c25757
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions third_party/nucleus/pip_package/build_pip_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ set -x
NUCLEUS_VERSION="0.3.0"
PACKAGE_NAME="google_nucleus-${NUCLEUS_VERSION}"
PYTHON_VERSION="2.7"
PLATFORM="linux-x86_64"

TMPDIR=$(mktemp -d -t tmp.XXXXXXXXXXX)
TOPDIR="${TMPDIR}/${PACKAGE_NAME}"
Expand Down Expand Up @@ -95,7 +94,7 @@ find "nucleus" -name '*.so' -exec ln -f -s -r "google/protobuf/pyext/_message.so
popd

# Create tar file
TAR_NAME="${PACKAGE_NAME}.${PLATFORM}.tar.gz"
TAR_NAME="${PACKAGE_NAME}.tar.gz"
pushd "${TMPDIR}"
echo $(date) : "=== Building tar file ${TAR_NAME}"
tar cvzf "${TAR_NAME}" "${PACKAGE_NAME}"
Expand Down

0 comments on commit 3c25757

Please sign in to comment.