How can I specify an arbitrary set of files (non necessarily .py files) so that they are distributed and installed just like normal Python modules?
Some background
I am using distutils to distribute and install my Python library. One of the modules in this library imports a 3rd-party Python extension called bpy.so (this is a Blender module). The bpy.so extension requires some other files, as well. I want to distribute and install bpy.so and the additional required files with my library.
One way to do this is by specifying all of the extra files as data_files to setup(). However, I don't know how to reliably specify the same installation directory as is used for my pure python modules (e.g. /usr/local/lib/python3.2/dist-packages). I can distribute the extra files by creating a MANIFEST.in file (see this question), but I also want to install the files.