fpm and virtualenv don't play nicely together. Under virtualenv, fpm
ends up building Python packages that include the files under their
virtualenv paths. This is not what we want. Refs #5175.
echo "Workspace is $WORKSPACE"
fi
-# We need a recent setuptools. Older ones replace + with - in our
-# version numbers, making them non-PEP-440-compliant and
-# non-uploadable.
-VENV=$(mktemp -d)
-echo "Using virtualenv $VENV"
-virtualenv "$VENV"
-. "$VENV/bin/activate"
-
version_from_git() {
# Generates a version number from the git log for the current working
# directory, and writes it to stdout.
fi
fi
-# clean up temporary GOPATH and VENV
+# clean up temporary GOPATH
rm -rf "$GOPATH"
-rm -rf "$VENV"
exit $EXITCODE