[Jonathan Wiltshire, 2009-01-29]
> > * it's Python app. - consider installing it to private directory (f.e.
> >   /usr/share/rednotebook)
> 
> Ok, I don't quite follow you. Do you mean usr/bin/rednotebook, or all
> the stuff in usr/share/python-support/rednotebook/* too? I assumed that
> as that's how debhelper arranged it, it was intentional.

all the stuff in /usr/share/rednotebook, something like this:

| python setup.py install --root=$(CURDIR)/debian/rednotebook \
|                --install-lib=/usr/share/rednotebook/
| # "--install-scripts=/usr/share/rednotebook" will not work here
| # as binary name is the same as module name
| mv $(CURDIR)/debian/rednotebook/usr/bin/rednotebook \
|       $(CURDIR)/debian/rednotebook/usr/share/rednotebook/run.py
| dh_link /usr/share/rednotebook/run.py /usr/bin/rednotebook

-- 
-=[     Piotr Ożarowski     ]=-
-=[ http://www.ozarowski.pl ]=-

Attachment: pgpAfvHWvHmDs.pgp
Description: PGP signature

Reply via email to