You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
uv sync uv run poly env setup
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).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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