Skip to content

Commit

Permalink
wheel.mk: Avoid downloading if pure wheel packaging is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Jan 13, 2025
1 parent ceed5cf commit 57b8cbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mk/spksrc.wheel-download.mk
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ endif
# $(MSG) type: [$(WHEEL_TYPE)] ; \
if [ "$$(grep -s egg <<< $(REQUIREMENT))" ] ; then \
echo "WARNING: Skipping download URL - Downloaded at build time" ; \
elif [ "$(WHEEL_TYPE)" = "pure" ] && [ "$(WHEELS_PURE_PYTHON_PACKAGING_ENABLE)" = "1" ]; then \
echo "WARNING: Skipping download - pure python packaging disabled" ; \
else \
query="curl -s https://pypi.org/pypi/$(WHEEL_NAME)/json" ; \
query+=" | jq -r '.releases[][]" ; \
Expand Down

0 comments on commit 57b8cbb

Please sign in to comment.