New command: poly env. This command is useful for the uv build backend 🎉 #404
DavidVujic
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Adding a new command -
poly env setup- for Package & Dependency management tools without support for multiple module roots or hooks, such as the uv build backend. This command will add the bases and components paths to the current virtual environment. When these are added, navigation and auto complete will work as expected.Users of uv that also use the uv build backend cannot set bases and components as module roots, or dev mode dirs as it is called in the recommended hatch build backend. The uv build backend has no support for multiple module roots, and has no support for hooks.
But Polylith is for everyone! ❤️
Uv build backend users can now add the needed folders into the current virtual environment by combining the uv sync command with this new Polylith command:
The bases and components folders will now be recognized by the current virtual environment. The idea is coming from the discussion #402.
The new command is in version 1.39.0 of the CLI. The command is only applicable for the CLI (and not needed for Poetry users).
Beta Was this translation helpful? Give feedback.
All reactions