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

Re: Tool support for private modules



Le lundi 01 octobre 2007 à 23:56 +1000, Ben Finney a écrit :
> > > Hmm. I am hoping that "modify the programs [to add an absolute
> > > path to the search path]" is not a necessary part of this.
> > 
> > If upstream hasn't thought of it, it is. You only need to add one
> > line in the program, before the module is imported.
> 
> How can upstream anticipate the arbitrary path I pass to './setup.py
> install --home="/foo/bar"' if the path "/foo/bar" is up to me as a
> Debian packager? I don't see how any Python program can be written to
> allow for that without modification every time the "/foo/bar" changes.

Distutils may be extended to do such a thing, but most of the software
I've seen doing it is using automake or changing the files with custom
hackery.

-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: