How to use live local package without installing to hatch env? #933
-
I have a hatch project that has a dependency to another package in our repo. When I "hatch shell", it installs this package to the hatch environment ok using a relative path "../../my_package". |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I have not yet implemented the concept of workspaces which will satisfy this use case. Until then you can set |
Beta Was this translation helpful? Give feedback.
-
If anyone is wondering how to set env vars in hatch, you can do this by using the following in your pyproject.toml.
This adds a PYTHONPATH env var to your "default" environment. |
Beta Was this translation helpful? Give feedback.
I have not yet implemented the concept of workspaces which will satisfy this use case. Until then you can set
PYTHONPATH
in your environments