this post was submitted on 20 Jul 2024
123 points (96.9% liked)

Programming

17362 readers
168 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] FizzyOrange@programming.dev 1 points 3 months ago (1 children)

there are tools in python to help

I haven't actually used pex but it doesn't look like it solves this - it's more of a way of distributing full programs. The .pex files aren't editable, which is something you need for this use case.

I imagine this strategy has its share of tradeoffs and gremlins.

As far as I know there are no downsides. It's basically win-win.

[–] jjjalljs@ttrpg.network 1 points 3 months ago (1 children)

I found it in the docs https://docs.deno.com/runtime/manual/basics/modules/#importing-by-url

Not sure if that generates like a lockfile or how it handles peer deps. Intersting nonetheless.

[–] FizzyOrange@programming.dev 1 points 3 months ago

It can optionally use a lock file. Not sure about peer dependencies tbh.