[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] deleting old files with distutils?



hey,

with the camera.so now being _camera.so and camera.py being included,
I would like to make sure camera.so and camera.pyd are deleted from
the installed place.  Otherwise python looks at .so and .pyd files
over .py files, and badness happens.

Does distutils allow doing this?  It seems to just copy over the top usually.

Failing that, I'd like to make sure the .py file is imported, rather
than the .so or .pyd.