# HG changeset patch # User Anton Shestakov # Date 1726061344 -14400 # Node ID 6d61440357af37e82f5b421d5d2522a2d3a4a834 # Parent 4836e75f0a0309e8612879d377291b1ca12404bd tests: check metadata and long description using `setup.py check` This probably isn't very useful to us, since at the moment the metadata check cares only about the presence of "name" and "version", and the reST check makes sure our long_description renders properly (we build the docs, so we would probably see any render errors, just in a different place), but this is a simple command, so let's add it. diff -r 4836e75f0a03 -r 6d61440357af tests/test-check-sdist.t --- a/tests/test-check-sdist.t Mon Sep 09 18:46:03 2024 +0400 +++ b/tests/test-check-sdist.t Wed Sep 11 17:29:04 2024 +0400 @@ -16,6 +16,8 @@ #endif + $ "$PYTHON" setup.py check --metadata --restructuredtext + $ "$PYTHON" setup.py sdist --dist-dir "$TESTTMP"/dist > /dev/null */dist.py:*: UserWarning: Unknown distribution option: 'python_requires' (glob) (?) warnings.warn(msg) (?)