News for hackers. Stuff that matters.
Re:Ask HN: Best practice to distribute private Python CLI to... by franktankbank on Monday January 27, 2025 @07:57PM (#42847697)
I'd build it around pip and just accept that your users will have to install python and do the one-time pip install. Just do

pip install <package_name> -U

to get the latest.

Re:Ask HN: Best practice to distribute private Python CLI to... by oulipo on Monday January 27, 2025 @08:30PM (#42847913)
Then I guess I might as well expect them to use `uv` and use `uv tool`
Re:Ask HN: Best practice to distribute private Python CLI to... by franktankbank on Monday January 27, 2025 @09:10PM (#42848150)
Yea, sorry I'm not too familiar with uv yet, but sounds like it could work well. The latest would be installed each invocation. The trick though would be pointing to your private pip repository.