PyOpenGL's setup.py manages binary versions of GLUT and GLE for win32 by os.listdir'ing the contents of directory OpenGL/DLLS. However, the relevant code should only manage files, rather than subdirectories too.
This is useful in case pyopengl is built, for example, from a Subversion working copy, which stores repository metadata in the hidden ".svn" directory - in this case, the build process will fail later under Windows when trying to copy the ".svn" hidden directory.
The patch is attached. I have this in production in my build system and it seems to work well.
Log in to post a comment.