[Distutils] Installing scripts to multiple directories

Harald Meland Harald.Meland@usit.uio.no
Thu Mar 13 12:08:03 2003


Hi,

I'm trying to figure out how I can make distutils support installation
of scripts to more than one directory, e.g. both <prefix>/bin/ and
<prefix>/sbin/.

I've found an open bug[1] on this in the Python project on
SourceForge, but it's now over a year since the person that bug is
assigned to said that he would "look at this".

I started by looking through the documentation, but could not find any
info on how to extend distutils.  Hence, I had a look at how distutils
is currently implemented, but I'm still not sure how one is meant to
*properly* extend the "install*" feature set.

Have anyone done this particular extension already?  If not, are there
any guidelines on how such an extension ought to be done?

  
[1] Bug id 452144, viewable at
    http://sourceforge.net/tracker/?func=detail&atid=105470&aid=452144&group_id=5470
-- 
Harald