Commits

Anonymous committed 9e61817

Changing the ignore pattern when copying OpenGL manually so as not to leave out necessary files like __init__.py.

Comments (0)

Files changed (1)

         try:
             shutil.copytree(
                 opengl_dir, os.path.join( "dist", "OpenGL" ),
-                ignore = shutil.ignore_patterns( "*.py", "*.pyc", "GLUT", "Tk" ),
+                ignore = shutil.ignore_patterns( "GLUT", "Tk" ),
             )
             shutil.copytree(
                 opengl_accelerate_dir,
                 os.path.join( "dist", "OpenGL_accelerate" ),
-                ignore = shutil.ignore_patterns( "*.pyc" ),
             )
         except WindowsError, error:
             if not "already exists" in str( error ):