# HG changeset patch # User Anton Shestakov # Date 1726061344 -14400 # Node ID 416adeb7d418c34220113b417fe8d6a0d8ab9dff # Parent e57c9da94b252747945f6130ac71b03ca7dc4d0a 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 e57c9da94b25 -r 416adeb7d418 tests/test-check-sdist.t --- a/tests/test-check-sdist.t Mon Sep 09 18:32:53 2024 +0400 +++ b/tests/test-check-sdist.t Wed Sep 11 17:29:04 2024 +0400 @@ -17,6 +17,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) (?)