Skip to content

Is there any way to define dependencies to be installed without installing package itself? #745

Answered by ischaojie
alvarobartt asked this question in Q&A
Discussion options

You must be logged in to vote

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/

[tool.hatch.envs.default]
dependencies = [
  "some"
]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alvarobartt
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