Enforce new setuptools for building official dists

This commit is contained in:
Sviatoslav Sydorenko 2020-01-13 23:34:24 +01:00 committed by Matt Clay
parent e266e5f8b6
commit 73d343b7aa

View file

@ -223,6 +223,7 @@ install_manpages:
.PHONY: sdist_check .PHONY: sdist_check
sdist_check: sdist_check:
$(PYTHON) -c 'import setuptools, sys; sys.exit(int(not (tuple(map(int, setuptools.__version__.split("."))) > (39, 2, 0))))'
$(PYTHON) packaging/sdist/check-link-behavior.py $(PYTHON) packaging/sdist/check-link-behavior.py
.PHONY: sdist .PHONY: sdist