-
I have another python package I saw that Hatch is supposed to adhere to PEP 660, but I couldn't for the life of me figure out how to actually specify an editable dependency in pyproject.toml. So I tried just specifying a local dependency to start with. I first tried Then I saw that on https://hatch.pypa.io/latest/config/dependency/#local it says
Not sure what "invokes pip directly" means here. I tried Is it possible to point out a local dependency in pyproject.toml, and if so, how? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Dependency definitions have no concept of editable installations so your only option is to use commands to invoke pip directly, like we do for Hatchling here or using relative If you want to define non-editable local project dependencies you can set |
Beta Was this translation helpful? Give feedback.
Dependency definitions have no concept of editable installations so your only option is to use commands to invoke pip directly, like we do for Hatchling here or using relative
file:./
syntax.If you want to define non-editable local project dependencies you can set
allow-direct-references
.