On February 11, 2015 10:04:50 AM EST, Michael Crusoe <michael.cru...@gmail.com> wrote: >Hello, > >I'm working on the packaging of the khmer project[0] with the >debian-med >team[1] and we've run into an odd problem: dh_python2 renames the >Python >extension shared library from `_khmermodule.so` to a version with a >mutliarch triplet: `_khmermodule.x86_64-linux-gnu.so`. This breaks >module >loading: "ImportError: No module named _khmer". > >I've found the '--no-ext-rename' option but I can't seem to figure out >how >to use it with the debhelper command sequencer + dh_python2 + pybuild >setup: >http://anonscm.debian.org/cgit/debian-med/khmer.git/tree/debian/rules > >In the mean time I've worked around this via dh_link[2]. Is there a >better >way? > >Thanks, > >[0] http://khmer.readthedocs.org >[1] http://anonscm.debian.org/cgit/debian-med/khmer.git >[2] >http://anonscm.debian.org/cgit/debian-med/khmer.git/tree/debian/khmer.links
Given the filename, shouldn't it be import khmermodule? Scott K -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/77b55bd4-8831-4005-8add-3181e5640...@kitterman.com