Re: Migrating unmanaged Python library extension from ‘python-central’ to ‘python-support’
Piotr Ożarowski <piotr@debian.org> writes:
> [Ben Finney, 2009-04-15]
> > The only way that I know of so far to get ‘dh_pysupport’ to find and
> > install the module correctly is:
> >
> > * Copy the file from ‘writers/manpage.py’ into ‘usr/lib/$(shell
> > pyversions -d)/site-packages/docutils/writers/.’. If I omit this step,
> > there is no indication that the modules should be in the
> > ‘docutils/writers/’ system library directory.
> >
> > * Tell ‘dh_install’ to install
> > ‘usr/lib/python*/site-packages/docutils/writers/’. If I omit this
> > step, ‘dh_pysupport’ ignores the module and it doesn't end up in the
> > package at all.
> >
> > * Tell ‘dh_pysupport’ to do its thing.
>
> dh_pysupport should be as small as possible, it should not do
> dh_install's job, IMO.
I'm not sure why you think I'm expecting that.
> Just fill in .install file, and then call `dh_install; dh_pysupport`
> in debian/rules
As I said in the original message, I'd love to just do that; but it
doesn't work, as explained in the material you quoted above.
--
\ “My classmates would copulate with anything that moved, but I |
`\ never saw any reason to limit myself.” —Emo Philips |
_o__) |
Ben Finney
Reply to: