Hi petr,

On 01/11/14 23:53, petr wrote:
> 
> On 31 Oct 2014, at 23:50, Glenn Ramsey <[email protected]> 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

_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to