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

Re: Migrating unmanaged Python library extension from ‘python-central’ to ‘python-support’



Josselin Mouette <joss@debian.org> writes:

> Le mardi 14 avril 2009 à 16:51 +1000, Ben Finney a écrit :
> > =====
> > --- docutils-writer-manpage-0.1~svn.r5663/debian/docutils-writer-manpage.install
> > +++ docutils-writer-manpage-0.1~svn.r5663/debian/docutils-writer-manpage.install
> > @@ -1 +1 @@
> > -usr/share/pyshared/docutils/writers/
> > +usr/lib/python*/site-packages/docutils/writers/
> > =====
> > 
> > This appears to ignore the ‘dh_pysupport(1)’ documentation, instead
> > relying on ‘dh_install’ to install the files explicitly. Why is this
> > necessary?
> 
> The former documentation in dh_pysupport was misleading. It was
> already not required to install files in /usr/share/python-support.
> Files are picked by dh_pysupport at whatever place the upstream build
> system installs them.

What about in this case, where there *is* no upstream build system for
these modules and the only supported install method is “copy the module
files where you want them”?

Where should I put the upstream library files so that the above
‘docutils-writer-manpage.install’ is not needed and ‘dh_pysupport’ will
get them automatically? I have not come up with any combination that
obviated this file.

-- 
 \        “Don't worry about people stealing your ideas. If your ideas |
  `\     are any good, you'll have to ram them down people's throats.” |
_o__)                                                    —Howard Aiken |
Ben Finney

Attachment: pgpAGK1BTYELe.pgp
Description: PGP signature


Reply to: