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

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



Cyril Brulebois <kibi@debian.org> writes:

> Ben Finney <ben+debian@benfinney.id.au> (14/04/2009):
> > I'm not very familiar with using ‘python-support’, so I'm not clear
> > what I need to change in these rules. Where do I need to install the
> > library files for them to be properly discovered by ‘dh_pysupport’?
> 
> Put them into /usr/lib/python*/site-packages, as documented in its
> manpage?

Thanks. That's new since the version of ‘python-support’ currently in
‘squeeze’. (The ‘dh_pysupport(1)’ manpage in version 0.8.7 still talks
about detecting modules in ‘/usr/share/python-support’.)

> I'm attaching a source debdiff with various things that should help you
> reach some working package.

Thank you. However, I'm still perplexed. Your changes include:

=====
--- 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?

-- 
 \                         “I'm a great lover, I'll bet.” —Emo Philips |
  `\                                                                   |
_o__)                                                                  |
Ben Finney

Attachment: pgp7wtkkZFYUN.pgp
Description: PGP signature


Reply to: