Auto-link a Host-provided Package into a Virtualenv
Written by
on
in
Snaking.
There are Python packages that are basically a PITA to get compiled into your virtualenv. The one I constantly hit when doing GStreamer, DBus, IBus, etc is gobject-introspection (a.k.a. gi). So, there's now a trivial package available:
source path-to-venv/bin/activate
pip install venvhpl
venv-hpl gi
Comments
Comments are closed.
Pingbacks
Pingbacks are closed.
F on 06/14/2020 6:03 p.m. #
python -m venv --system-site-packages env
Mike Fletcher on 06/14/2020 6:46 p.m. #
That would pull in *all* system packages, this *just* pulls in the single package.