convert to uv #3
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've started using
uvfor python projects and it has made running python in various environments so much better.I did a quick conversion to
uvfor you to check out.One thing that changes is it removes the
tkinterdependency. As far as I can tell from my research, tkinter is usually bundled in with python, and not installed using python package management. Either by doingsudo apt install python3-tkinteror all of the python installationsuvcan install hastkinterbundled:uv python install 3.11.Generally even though it was an optional dependency, having
tkinterdefined was causing me lots of headaches. But let me know what you think.This PR also adds in
ruff, which is aflake8replacement from the same people asuv.Here is an example of running
ruff(with a time command to show how fast it runs):Another thing to mention is this is how to run the GUI:
Im jumping back and forth between my Mac laptop and my Raspberry Pi, and am able to successfully run the tool.