Okay, #python people. I've been reading about #virtualenv and I totally get it in the context of development. What I don't get is distribution. If I finish building a command line app in python and want to share it, would everyone that wants to use it have to set up a virtualenv on their end to do so? And what about in context of a cron job? Is it normal to script a wrapper that launches it in virtualenv context? What am I missing here?
Conversation
Notices
-
tomasino (tomasino@mastodon.sdf.org)'s status on Friday, 10-Aug-2018 11:33:50 EDT tomasino
-
Solderpunk (solderpunk@mastodon.sdf.org)'s status on Friday, 10-Aug-2018 11:36:20 EDT Solderpunk
@tomasino If your command line app depends on lots of external dependencies and is very fussy about the precise versions of those dependencies and those dependencies are hard for people to install themselves (e.g. requires compilation), then using virtualenv for distribution might make some sense, but I would consider it a last resort. IMHO the above conditions make software uninteresting and gross.
-