tftpy icon indicating copy to clipboard operation
tftpy copied to clipboard

Imports, workflows, and coverage

Open sarnold opened this issue 2 years ago • 2 comments

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!

sarnold avatar Sep 16 '23 17:09 sarnold

I'm not against this, but honestly I had not heard of importlib, and I'm curious about the advantages of using it.

msoulier avatar Nov 30 '24 14:11 msoulier

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?

msoulier avatar Nov 30 '24 14:11 msoulier