diff --git a/bob/devtools/build.py b/bob/devtools/build.py index 16bfa761477b6dc07f777eed0c14d513f5e47211..262d944a5c454832a121918e6acc74ffc289079d 100644 --- a/bob/devtools/build.py +++ b/bob/devtools/build.py @@ -507,10 +507,9 @@ if __name__ == '__main__': failed = check(package) if failed: - raise RuntimeError('long_description of package %s cannot be ' \ - 'correctly parsed (twine check returned a failure)' % \ - (package[0],)) + raise RuntimeError('twine check (a.k.a. readme check) %s: FAILED' % \ + package[0]) else: - logger.info('Package %s\'s long_description: OK', package[0]) + logger.info('twine check (a.k.a. readme check) %s: OK', package[0]) git_clean_build(bootstrap.run_cmdline, verbose=(args.verbose >= 2)) diff --git a/bob/devtools/scripts/ci.py b/bob/devtools/scripts/ci.py index a322636746f8be406acaa458f865644fa98f4819..b08b601a518a0eefc1081ba8cb502d52ca9f6b6c 100644 --- a/bob/devtools/scripts/ci.py +++ b/bob/devtools/scripts/ci.py @@ -174,12 +174,9 @@ def readme(package): failed = check([k]) if failed: - raise RuntimeError('long_description of package %s cannot be ' \ - 'correctly parsed (twine check returned a failure)' % \ - (k,)) + raise RuntimeError('twine check (a.k.a. readme check) %s: FAILED' % k) else: - logger.info('Package %s\'s long_description: OK', k) - + logger.info('twine check (a.k.a. readme check) %s: OK', k) @ci.command(epilog=''' Examples: