Skip to content

Commit 93260c5

Browse files
committed
More setup.py things
1 parent 894d9a9 commit 93260c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tag:
4646
@-git tag v$(shell python3 -c "from trio_asyncio._version import __version__; print(__version__)")
4747

4848
pypi: tag
49-
@if python3 setup.py -V 2>/dev/null | grep -qs + >/dev/null 2>&1 ; \
49+
@if python3 python3 -c "from trio_asyncio._version import __version__; print(__version__)" 2>/dev/null | grep -qs + >/dev/null 2>&1 ; \
5050
then echo "You need a clean, tagged tree" >&2; exit 1 ; fi
5151
python3 setup.py sdist upload
5252
## version depends on tag, so re-tagging doesn't make sense

0 commit comments

Comments
 (0)