On Thu, May 14, 2020 at 03:25:02AM -0300, Juan BC wrote:
- First, I forget to add the internal package arcoviv19.web to include the web app of the project (https://github.com/ivco19/libs/blob/master/setup.py#L89) - Second, forget to add a line into my MANIFEST.in, so the project WebClient doesn't work properly. (https://github.com/ivco19/libs/blob/master/MANIFEST.in)
So, after the fixes, I starting to mock tests to check this kind of mistake. The idea was quick and dirty but works: I give a path to my entire source-tree and the the file generated with "setup.py sdist" must contain the exact same files.
So the question: Some know about a tool that checks this kind of thing/problem?
You may find https://pypi.org/project/check-manifest/ useful. HTH, Marius Gedminas -- Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why.