Ali Afshar <[EMAIL PROTECTED]> added the comment:

I have managed to reduce the bug to a tiuny test case. It seems that
this only happens when calling automodule directive on a package, with
code in __init__.py which registers a new GType. Moving the code to a a
regular module inside a package allows it to be imported normally.

I have attached the project directory, and there is a script "build.sh"
which just demonstrates how I run the builder to get the PYTHONPATH
correct to be able to improt the package.

Added file: http://bugs.python.org/file10184/sphinx-bug-test.tar.gz

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2747>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to