3 # Script to download PyPI artifacts
5 PROJECT_NAME=$(grep name= setup.py | cut -d"'" -f2)
6 ARTIFACT_VERSION=$(grep __version__ ${PROJECT_NAME}/_version.py | cut -d'"' -f2)
7 REPO_URL="https://nexus3.onap.org/repository/PyPi.staging/packages"
8 TAR_NAME="$REPO_URL/$PROJECT_NAME/$ARTIFACT_VERSION/$PROJECT_NAME-$ARTIFACT_VERSION.tar.gz"
9 WHEEL_NAME="${REPO_URL}/${PROJECT_NAME}/${ARTIFACT_VERSION}/${PROJECT_NAME}-${ARTIFACT_VERSION}-py2-none-any.whl"