Hi Ben (2012.05.01_05:08:17_+0200)
> What is the best *method* to do this, though? How to best use existing
> tools so as not to re-implement this boilerplate task every time such a
> package comes along?

The usual way to make a package private is to do something like:

override_dh_auto_install:
        dh_auto_install -- --install-lib /usr/share/openastromod \
                           --install-scripts /usr/share/openastromod

Then symlink /usr/share/openastromod/openastromod to
/usr/bin/openastromod. python will dereference the symlink when setting
up sys.path.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 461 1230 C: +27 72 419 8559


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120501091541.gg2...@bach.rivera.co.za

Reply via email to