Skip to content

Commit

Permalink
Change poetry plugin keep bins default to True
Browse files Browse the repository at this point in the history
Including `bin/activate` in the virtual environment by default will make debugging much easier (charm developers can easily run Python code using the charm's virtual environment to debug issues)

@lengau to confirm, this won't have negative side effects of including a symlink to the python binary or copying the python binary itself into the *.charm artifact?
  • Loading branch information
carlcsaposs-canonical authored Dec 11, 2024
1 parent 7f23872 commit a287feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charmcraft/parts/plugins/_poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


class PoetryPluginProperties(poetry_plugin.PoetryPluginProperties, frozen=True):
poetry_keep_bins: bool = False
poetry_keep_bins: bool = True
"""Keep the virtual environment's 'bin' directory."""


Expand Down

0 comments on commit a287feb

Please sign in to comment.