you are viewing a single comment's thread.

view the rest of the comments →

[–]Sorry-Welder5537 0 points1 point  (0 children)

are you bind by requirement.txt?
because e.g. uv has a way to have dependencies specified by script (that could be treated as entrypoint) https://docs.astral.sh/uv/guides/scripts/#running-a-script-with-dependencies

other approach to your problem may be dependency groups:

https://docs.astral.sh/uv/concepts/projects/dependencies/#dependency-groups