"Todd A. Jacobs" <[EMAIL PROTECTED]> writes:

> I'm trying to roll my own TMDA .debs, and am running into this:
>
>     Traceback (most recent call last):
>       File "/usr/bin/tmda-sendmail", line 40, in ?
>       from TMDA import Version
>     ImportError: No module named TMDA

There is an "official" .deb for TMDA 1.0.3 - perhaps you could compare
yours to that one, or use that one as a base?

> Also, AFAICT the debian-python policy says that byte-compiled files
> shouldn't be in .deb packages and that dh_python will strip out the
> pyc files anyway. Could part of the problem be that compileall isn't
> being run as a post-install routine?

TMDA will work fine with just the .py files there.  The .pyc files
just make things faster, but python uses either/or, and if both are
there, it uses .pyc.

_________________________________________________
tmda-workers mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to