Yes: build the C extension before you build the docs.
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk0uqt4ACgkQN9GcIYhpnLAv4ACeMxRHxvQ+Hv11f5EfIkDgbRWU
gBgAn2FxwmgoOuikFvw+Jctk72P/CpXc
=HT4t
-----END PGP SIGNATURE-----
Sphinx does include a "setup.py build_docs" command, but it does not
handling adding the distutils build directories to sys.path. It would
probably a good idea to do this -- would you like to work on a patch?
What I usually do is to copy the built C modules to the source path
in my "make the docs" step:
cp build/lib.*/_module.so src/package
cheers,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
iEYEARECAAYFAk0xZQUACgkQN9GcIYhpnLDupwCfd6bvaiaIkNEqjSAHcUJ41J8R
KOgAnRL65preAFeAI6Evw1K+mCZT2sIt
=sB6c
-----END PGP SIGNATURE-----