Imports, workflows, and coverage
We found this useful for another project but it needed a little cleanup (which I was already doing in several other Python repos) and this is the end result, This uses importlib which is more-or-less future-proof, cleans up tests and test coverage, uses the import bits in the docs build, and throws in a release workflow you might find useful. I did a micro.patch release so we could consume/test it and I left some examples here. Thanks!
I'm not against this, but honestly I had not heard of importlib, and I'm curious about the advantages of using it.
The output from the sdist target is...interesting.
msoulier@cortado:~/work/tftpy$ ls dist tftpy-0.8.2.2.dev4+g4192765.tar.gz
How does one get to a proper release version?