Skip Navigation
Is installing personal packages with pipx an anti-pattern?

So I made a small little command-line utility for myself just for practice, but I had a hard time figuring out how to actually turn it into something I can just use on the command line with no fuss. It uses a virtual environment as Python packages should, so it needs to be run in that environment and I was having trouble figuring out how to do it.

But then I remembered that pipx runs application in a virtual environment, and after checking the docs, I found out that it allows installing local packages by just pointing install at the package directory. So I did, and after setting up the command name as a project script that points to main it ended up working.

I haven't ever heard of anyone doing something like this for a personal program though. Is something like this a bad idea? Is it over engineering or error prone? Is there another way that most people do something like this?

0
Why was lemmygrad blocked?
  • Honestly, owning up to it being a selfish decision deserves some respect. I'm a big proponent of free expression and avoiding censorship, but I took a gander at the kinda stuff they got over there and...

    It's not even the views they hold that's my main problem. It's really that they're just so needlessly rude and aggressive, and as you pointed out, they seem to be a lot more censorship happy than here anyway. I would be more sympathetic to them if they were less censorship happy themselves, and if they were less mean.

    I do want to stress that I hope you keep the number of blocked instances to a minimum, since I feel that it would be better if the Lemmy software had better tools for users to control what they block for themselves better, and also maybe just having "default" blocklists that users can disable, to keep the new-user experience nice, but yeah for that particular instance, I can't be too mad about it.

  • How do you guys use a distro that doesn't have the AUR (or equivalent?)
  • Do you know about Flatseal? It's an application that lets you manage flatpak permissions. Until the portals system is fully working, weakening the sandboxing using Flatseal is what a lot of people do to make the apps work correctly.

    Also, if you use KDE, the settings app has flatseal-like functionality built in.

  • How do you guys use a distro that doesn't have the AUR (or equivalent?)
  • Fedora has a pretty good amount of software in the repositories, so a lot of the time that's enough. When it's not, flatpak with flathub have most gui software covered, and outside of that, if we're talking about terminal or command line stuff, most of those have their own custom way to install them, or they just have self contained binaries that you can put in ~/.local/bin/.

    I haven't run into many issues with flatpak like it sounds like you have, so that really covers a lot of it for me honestly.

  • Traffic Evaporation: What Really Happens When Road Space is Reallocated from Cars?
    thecityfix.com Traffic Evaporation: What Really Happens When Road Space is Reallocated from Cars?

    Cheonggyecheon Stream in Seoul, where an elevated expressway was demolished to make way for a massive public recreation space. Photo by Aleksandr Zykov Road development throughout the 20th century was based primarily on the premise that more infrastructure eases traffic. But evidence shows that road

    Traffic Evaporation: What Really Happens When Road Space is Reallocated from Cars?
    0
    Stack Exchange Moderators Going on Strike
  • For anyone who's interested in an alternative, check out https://codidact.com . It's much smaller right now, but it's open-source and the community is nice.

  • true_blue True Blue @sh.itjust.works
    Posts 3
    Comments 4
    Moderates