Skip to content

How does pipx manage environments for scripts with inline script metadata? #1387

Answered by chrysle
jwodder asked this question in Q&A
Discussion options

You must be logged in to vote

The cache duration for pipx run venvs is exactly 14 days, currently. For your case, would introducing an option to keep created virtual environments work? Probably we need some more fine-grained cache control, too, like pip has.

One solution for this might be if pipx install could take a path to a local script; should I file that as a feature request?

This would definitely require some larger restructuring changes and IMO contrast with pipx's current policy that only standalone command line applications can be installed (not sure if a simple script is worth the effort), but feel free to.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jwodder
Comment options

Answer selected by jwodder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants