[Python-apps-team] PYTHONPATH in debian/rules
Stefano Rivera
stefanor at debian.org
Mon Jul 23 16:21:56 UTC 2012
Hi BRAGA, (2012.07.23_15:59:34_+0200)
> Hi debian/python gurus,
Generally, debian-python at lists.debian.org is a better place for
discussions.
> I am packaging a plugin for another package I have, but it is held
> privately, so I need to add the path to it in PYTHONPATH for running
> setup.py.
You probably want to use --install-lib not --prefix.
Then you don't need to set PYTHONPATH.
It ends up looking like:
%:
dh $@ --with python2
override_dh_auto_install:
dh_auto_install -- --install-lib /usr/share/foobar
SR
--
Stefano Rivera
http://tumbleweed.org.za/
H: +27 21 461 1230 C: +27 72 419 8559
More information about the Python-apps-team
mailing list