36 ms·
I write internal tools using Python at work. These tools are often used by non-Python devs. I am so, so tired of adding a blurb on creating a venv. (Of course,
by tiltowait 2y ago
I write internal tools using Python at work. These tools are often used by non-Python devs. I am so, so tired of adding a blurb on creating a venv.
(Of course, the alternative—"install this software you've never heard of"—isn't fantastic either. But once they do have it, it'd be pretty neat to be able to tell them to just "uvx <whatever>".)
- zahlman 2y agoIs it not the same blurb every time that you could copy and paste? Or you can make sure you have an entry point - probably a better UX for your coworkers anyway - and run them through a `pipx` install. Or you could supply your own Bash script or whatever. Or since you could use a simple packager like pex (https://docs.pex-tool.org/ https://docs.pex-tool.org/). (That one even allows you to embed a Python executable, if you need to and if you don't have to worry about different platforms.) Maybe even the standard library `zipapp` works for your needs.