Auto-link a Host-provided Package into a Virtualenv

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


  1. F

    F on 06/14/2020 6:03 p.m. #

    python -m venv --system-site-packages env

  2. Mike Fletcher

    Mike Fletcher on 06/14/2020 6:46 p.m. #

    That would pull in *all* system packages, this *just* pulls in the single package.

Comments are closed.


Pingbacks are closed.