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 > $ sudo port install py-suds-jurko > dyld: DYLD_ environment variables being ignored because main executable > (/usr/bin/sudo) is setuid or setgid > ---> Computing dependencies for py-suds-jurko > ---> Dependencies to be installed: py27-suds-jurko > ---> Fetching archive for py27-suds-jurko > ---> Attempting to fetch py27-suds-jurko-0.6_0.darwin_12.i386.tbz2 from > http://packages.macports.org/py27-suds-jurko > ---> Attempting to fetch py27-suds-jurko-0.6_0.darwin_12.i386.tbz2 from > http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-suds-jurko > ---> Attempting to fetch py27-suds-jurko-0.6_0.darwin_12.i386.tbz2 from > http://lil.fr.packages.macports.org/py27-suds-jurko > ---> Fetching distfiles for py27-suds-jurko > ---> Verifying checksums for py27-suds-jurko > ---> Extracting py27-suds-jurko > ---> Configuring py27-suds-jurko > ---> Building py27-suds-jurko > ---> Staging py27-suds-jurko into destroot > ---> Installing py27-suds-jurko @0.6_0 > ---> Activating py27-suds-jurko @0.6_0 > ---> Cleaning py27-suds-jurko > ---> Fetching archive for py-suds-jurko > ---> Attempting to fetch py-suds-jurko-0.6_0.darwin_12.noarch.tbz2 from > http://packages.macports.org/py-suds-jurko > ---> Attempting to fetch py-suds-jurko-0.6_0.darwin_12.noarch.tbz2.rmd160 > from > http://packages.macports.org/py-suds-jurko > ---> Installing py-suds-jurko @0.6_0 > ---> Activating py-suds-jurko @0.6_0 > ---> Cleaning py-suds-jurko > ---> Updating database of binaries > ---> Scanning binaries for linking errors > ---> No broken files found. > $ python > Python 2.7.8 (default, Oct 30 2014, 11:38:27) > [GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> import suds >>>> dir(suds) > ['BuildError', 'BytesIO', 'MethodNotFound', 'PortNotFound', 'Repr', > 'ServiceNotFound', 'SoapHeadersNotPermitted', 'TypeNotFound', 'UnicodeMixin', > 'WebFault', '__build__', '__builtins__', '__doc__', '__file__', '__name__', > '__package__', '__path__', '__version__', 'byte_str', 'byte_str_class', > 'null', > 'objid', 'sys', 'tostr', 'version'] > > Compare this to the available modules from py-suds: > > $ sudo port install py-suds > dyld: DYLD_ environment variables being ignored because main executable > (/usr/bin/sudo) is setuid or setgid > Portfile changed since last build; discarding previous state. > ---> Computing dependencies for py-suds > ---> Dependencies to be installed: py27-suds > Portfile changed since last build; discarding previous state. > ---> Fetching archive for py27-suds > ---> Attempting to fetch py27-suds-0.4_1.darwin_12.noarch.tbz2 from > http://packages.macports.org/py27-suds > ---> Attempting to fetch py27-suds-0.4_1.darwin_12.noarch.tbz2.rmd160 from > http://packages.macports.org/py27-suds > ---> Installing py27-suds @0.4_1 > ---> Activating py27-suds @0.4_1 > ---> Cleaning py27-suds > ---> Fetching archive for py-suds > ---> Attempting to fetch py-suds-0.4_1.darwin_12.noarch.tbz2 from > http://packages.macports.org/py-suds > ---> Attempting to fetch py-suds-0.4_1.darwin_12.noarch.tbz2.rmd160 from > http://packages.macports.org/py-suds > ---> Installing py-suds @0.4_1 > ---> Activating py-suds @0.4_1 > ---> Cleaning py-suds > ---> Updating database of binaries > ---> Scanning binaries for linking errors > ---> No broken files found. > glenn@gmb~/rp/src/build$ python > Python 2.7.8 (default, Oct 30 2014, 11:38:27) > [GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> import suds >>>> dir(suds) > ['BuildError', 'MethodNotFound', 'PortNotFound', 'Repr', 'ServiceNotFound', > 'SoapHeadersNotPermitted', 'TypeNotFound', 'WebFault', '__build__', > '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', > '__version__', 'bindings', 'builder', 'cache', 'client', 'metrics', 'mx', > 'null', 'objid', 'options', 'os', 'plugin', 'properties', 'reader', > 'resolver', > 'sax', 'servicedefinition', 'soaparray', 'store', 'sudsobject', 'sys', > 'tostr', > 'transport', 'umx', 'wsdl', 'wsse', 'xsd'] > > Glenn > _______________________________________________ > macports-users mailing list > [email protected] > https://lists.macosforge.org/mailman/listinfo/macports-users _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
