diff --git a/scripts/release.sh b/scripts/release.sh index f21f152b..51d0cf78 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -9,6 +9,12 @@ if [[ ! -d ".git" ]]; then exit 1; fi +# Check if inside the pipenv virtual environment +if [[ "$PIPENV_ACTIVE" != "1" ]]; then + echo 'Must be inside the pipenv virtual environment!'; + exit 1; +fi + # Check if on main BRANCH=$(git rev-parse --abbrev-ref HEAD) if [[ "$BRANCH" != "main" ]]; then diff --git a/setup.cfg b/setup.cfg index 39297db3..c0ad55a8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -description-file = README.md +description_file = README.md [bdist_wheel] # This flag says to generate wheels that support both Python 2 and Python