py-suds-jurko is not installed properly
Glenn Ramsey
gr at componic.co.nz
Sun Nov 2 12:09:55 PST 2014
Hi petr,
On 01/11/14 23:53, petr wrote:
>
> On 31 Oct 2014, at 23:50, Glenn Ramsey <gr at componic.co.nz> wrote:
>
>> Hi,
>>
>> After installing the py-suds-jurko package only the top level modules seem to be
>> available. Did I install it wrong?
>>
>
> Hi Glenn,
>
> I can confirm that I see the same behaviour here.
>
> The submodules are still there but need to be exported explicitly. I'd assume this is some subtile difference in 'suds/__init.py__', but honestly I have not seen what would make the difference there. I am not sure if this is really an issue, as some packages which use suds work fine just fine with suds-jurko for me. This might be intentional.
>
> However, if you believe this is an issue you may want to report this upstream.
>
> Hope this helps,
> ~petr
Thanks for the reply.
The difference for me is that code like this breaks:
import suds
c = suds.client.Client(some_url)
This is worked around by explicitly importing the submodules as you have suggested:
import suds.client
c = suds.client.Client(some_url)
Hopefully this will help the next person that comes across this issue.
Glenn
More information about the macports-users
mailing list