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

Re: dh_python2 extension rename breaking module loading

On February 11, 2015 10:04:50 AM EST, Michael Crusoe <michael.crusoe@gmail.com> wrote:
>I'm working on the packaging of the khmer project[0] with the
>team[1] and we've run into an odd problem: dh_python2 renames the
>extension shared library from `_khmermodule.so` to a version with a
>mutliarch triplet: `_khmermodule.x86_64-linux-gnu.so`. This breaks
>loading: "ImportError: No module named _khmer".
>I've found the '--no-ext-rename' option but I can't seem to figure out
>to use it with the debhelper command sequencer + dh_python2 + pybuild
>In the mean time I've worked around this via dh_link[2]. Is there a
>[0] http://khmer.readthedocs.org
>[1] http://anonscm.debian.org/cgit/debian-med/khmer.git

Given the filename, shouldn't it be import khmermodule?

Scott K

Reply to: