[ pyopengl-Patches-3019625 ] Only install files from directory OpenGL/DLLS

"SourceForge.net" <[email protected]> Tue, 22 Jun 2010 13:51:10 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Patches item #3019625, was opened at 2010-06-22 15:51
Message generated for change (Tracker Item Submitted) made by lmancini
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305988&aid=3019625&group_id=5988

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: build
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Lorenzo Mancini (lmancini)
Assigned to: Nobody/Anonymous (nobody)
Summary: Only install files from directory OpenGL/DLLS

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305988&aid=3019625&group_id=5988

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net