[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to take a public package private?



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


Reply to: