Skip to content

Commit a719774

Browse files
committed
Need to add current source to PYTHONPATH, otherwise we're picking up some
random install of psij.
1 parent 273e272 commit a719774

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tag_and_release.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ create_tag () {
99
VERSION=$1
1010
fi
1111

12-
PSIJ_VERSION=$(python3 -c "import psij; print(psij.__version__)")
12+
PSIJ_VERSION=$(PYTHONPATH=./src python3 -c "import psij; print(psij.__version__)" 2>/dev/null)
1313

14-
if [[ $PSIJ_VERSION == "$VERSION" ]]
1514
then
1615
echo "Version requested matches package version: $VERSION"
1716
else

0 commit comments

Comments
 (0)