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

Re: Help with packaging of python executable and its modules



I have uploaded a patch and an update to rules and control.

Seems to work now.

Olivier

On 02/07/2014 02:20 PM, Andreas Tille wrote:
> Hi folks,
>
> I have commited some packaging for a bioinformatics package arden to
>
>    git://anonscm.debian.org/debian-med/arden.git
>
> Since it expects to find its modules under the pretty generic name
> "core" I decided to move the modules under
>
>    /usr/share/pyshared/arden/core
>
> and tried to patch the executable scripts to say something like
>
> from arden.core import  AnalyseMapping as AM
>
> instead of
>
> from core import  AnalyseMapping as AM
>
>
> However, it seems I mixed things up a bit since with my approach
>
>>>> import arden
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named arden
>
> does not work.
>
> Any hint what might went wrong?  (Feel free to commit directly to
> the Git repository - it is writable for every DD.)
>
> Kind regards
>
>        Andreas.
>

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


Reply to: