Install optional dependencies in environment? #369
Answered
by
ofek
frankie567
asked this question in
Q&A
-
Hey there 👋 I've just discovered hatch and it looks like an awesome tool to manage a project build! I was just getting started and stumbled upon a simple thing: how to make I've the following dependencies in my [project]
# ...
dependencies = [
"fastapi >=0.65.2",
# ...
]
[project.optional-dependencies]
sqlalchemy = [
"sqlalchemy",
# ...
]
oauth = [
"httpx-oauth >=0.4,<=0.7"
# ...
] By default, hatch seems to only install the main Best! |
Beta Was this translation helpful? Give feedback.
Answered by
ofek
Jul 26, 2022
Replies: 1 comment 1 reply
-
Yup! https://hatch.pypa.io/latest/config/environment/overview/#features |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
frankie567
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yup! https://hatch.pypa.io/latest/config/environment/overview/#features