check-manifest icon indicating copy to clipboard operation
check-manifest copied to clipboard

Make it possible to pass `--sdist <path-to-sdist>` to avoid (re)building an sdist

Open pradyunsg opened this issue 1 year ago • 1 comments

This would be useful for development workflows where an sdist has been generated already -- instead of rebuilding the sdist in check-manifest again, it would make workflows quicker if it were possible to pass check-manifest an argument to use an already-created sdist.

pradyunsg avatar Jun 28 '23 17:06 pradyunsg

Thing is, check-manifest builds an sdist twice:

  • once directly in the source tree
  • once in a temporary directory with a clean copy of the source files

and then compares both to each other, and to the list of files in the VCS.

When the user provides an already-built sdist, should it be considered a direct one, or a clean one, or should there be two command line options?

mgedmin avatar Jun 29 '23 06:06 mgedmin