+ """ Used to warn about unneeded old files.
# a temporary hack to warn about camera.so and camera.pyd.
extension_ext = os.path.splitext(pygame.base.__file__)
+ # here are the .so/.pyd files we need to ask to remove.
ext_to_remove = ["camera"]
+ # here are the .py/.pyo/.pyc files we need to ask to remove.
+ # See if any of the files are there.
extension_files = map(lambda x:"%s%s" % (x,extension_ext), ext_to_remove)
unwanted_files.append( os.path.join( install_path, f ) )