poetry-plugin-bundle icon indicating copy to clipboard operation
poetry-plugin-bundle copied to clipboard

How to `--only-root`?

Open caeus opened this issue 2 years ago • 2 comments

poetry install --only-root exists so that one can ignore all other dependency groups.

But how can I achieve that with bundle venv?

caeus avatar Jan 18 '24 02:01 caeus

?

caeus avatar Jan 24 '24 00:01 caeus

I'm currious if you do a poetry install --only group1,group2

Then you bundle it with this plugin, does it only bundle the group1,group2 dependencies? Because the venv site-packages folder unfortunately has garbage like:

_distutils_hack
distutils-precedence.pth
pip
pip-23.0.1.dist-info
pkg_resources
setuptools
setuptools-65.5.1.dist-info

I'd really like for this bunder to only give me group1 and group2 dependencies and nothing more. I don't want venv output, otherwise how else am I going to make use of the group feature ... I can copy venv/lib/python*/site-packages/* without the need for a plugin.

adminy avatar Mar 12 '24 23:03 adminy