Is there any way to define dependencies to be installed without installing package itself? #745
-
I was wondering whether there's any way to actually define development dependencies to be used just in a development environment but not attached to the project itself, meaning that it won't install those on top of the project dependencies installation, but just to define a list of dependencies to be installed standalone. e.g. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
[tool.hatch.envs.default]
dependencies = [
"some"
] |
Beta Was this translation helpful? Give feedback.
hatch
currently doesn't support installing the package from cli. In other words,hatch
supports a more advanced topic: environment. you can add these development dependencies into the environment config, by following the docs: https://hatch.pypa.io/latest/environment/ and https://hatch.pypa.io/latest/config/environment/overview/