On Mon, Apr 30, 2012 at 8:25 PM, Piotr Ożarowski <pi...@debian.org> wrote:
> > What hack? Do not change anything in plugins or in the startup script. > Systems with public programlib already work and on those with private > dir, external plugins will have to be installed with > PYTHONPATH=/usr/share/program/ and --install-lib=/usr/share/program/ (in > debian/rules or in RPM spec file). > Thanks Piotr... this seems to work fine. > > As upstream, you can make it easier for distro developers by stripping > 'import programlib' from setup.py (so that they will not need to install > the program package and set apropriate PYTHONPATH) Actually it is not imported directly in the setup.py, but the setup.py complains when compiling the plugin modules, which depend on the programlib... the PYTHONPATH however works fine. Just for those willing to compile from the source on their own, I need to leave documented this dependency. Thanks!