Hi,

I recognize your problem. I just need to take a look at how I fixed it for
Pyglet's Outen doc generation. Will try to do so this week.

Rob
On 3 Feb 2016 04:05, "Paul Craven" <[email protected]> wrote:

> I have a project that uses Pyglet. I want to document my project using
> readthedocs.org auto-sphinx doc creation website.
>
> Unfortunately just importing pyglet causes pyglet to try and load the GLU
> library. A library that doesn't exist when running headless on ReadTheDocs.
>
>   File "/home/docs/checkouts/
> readthedocs.org/user_builds/arcade/checkouts/latest/arcade/window_commands.py",
> line 11, in <module>
>     import pyglet.gl as GL
>   File "/home/docs/checkouts/
> readthedocs.org/user_builds/arcade/envs/latest/local/lib/python2.7/site-packages/pyglet/gl/__init__.py",
> line 97, in <module>
>     from pyglet.gl.lib import GLException
>   File "/home/docs/checkouts/
> readthedocs.org/user_builds/arcade/envs/latest/local/lib/python2.7/site-packages/pyglet/gl/lib.py",
> line 142, in <module>
>     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
>   File "/home/docs/checkouts/
> readthedocs.org/user_builds/arcade/envs/latest/local/lib/python2.7/site-packages/pyglet/gl/lib_glx.py",
> line 51, in <module>
>     glu_lib = pyglet.lib.load_library('GLU')
>   File "/home/docs/checkouts/
> readthedocs.org/user_builds/arcade/envs/latest/local/lib/python2.7/site-packages/pyglet/lib.py",
> line 160, in load_library
>     raise ImportError('Library "%s" not found.' % names[0])
>
> Pyglet does some fancy work to get around this in their docs. I've not
> been successful in replicating it. Has anyone found a simpler way?
>
> --
> You received this message because you are subscribed to the Google Groups
> "pyglet-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/pyglet-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to