Closed
Description
Background
In pypa/pip#3971, key members of the PyPA have leveled critiques of the embedded requirements feature, where a user can supply requirements and other common installer directives to signal to the tool how (best) to run the script. This feature emerged from the use-case where a script author would like to distribute a single file and have that file be runnable by any number of end users with minimal guidance, allowing the file to be published to a gist or alongside other scripts in a directory without needing additional context for executability.
Goals
- the tool should be able to infer install requirements and index URL.
- the tool must be able to parse these directives without executing the script (as executing the script should be able to rely on the presence of those items).
- the syntax should be as intuitive as possible. As a corollary, the syntax should aim to re-use syntax familiar to the user (primarily the author, but also the end user).
- (optional) the tool should be able to infer additional installer directives such as
--extra-index-url
or--quiet
.
Metadata
Metadata
Assignees
Labels
No labels