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

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



Le mardi 14 avril 2009 à 16:51 +1000, Ben Finney a écrit :
> > 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’.)

That will also work. dh_pysupport will look for modules in a wide range
of locations.

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

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.

-- 
 .''`.      Debian 5.0 "Lenny" has been released!
: :' :
`. `'   Last night, Darth Vader came down from planet Vulcan and told
  `-    me that if you don't install Lenny, he'd melt your brain.

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


Reply to: