-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/29/11 17:04, Avi Bahra wrote: > If I have a C++ python extension say _ecflow.so. The normal convention is > to place it in a directory with same name as extension. > > ecflow/ _ecflow.so __init__.py > > where __init__.py: has as the first line: from _ecflow import * > > It appears that automodule facility does not seem to honour this: So it > appears that it does *NOT* treat the directory as a package. It requires > the name of the extension to be 'ecflow.so' ie no leading underscore > > Hence if I declare class/functions in __init__.py they are not accessible > for documentation ? >
Hi Avi, how are you importing your module from automodule? How does the .rst look? Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAk6MYLoACgkQN9GcIYhpnLDUMQCfRo8JPNRdlRQmtYeqB+xX667Z urAAoJJ+wt4ltdBAmJkEvQ7qOA6EQdKs =Szis -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.