If you're distributing pyc files you'll need to 'compile' them for the python major version you are targeting by running py_compile from an interpreter that's on the right version. You can probably do this using a 2.6.4 intepreter without actually running maya so if you don't have the same maya version but can grab an interpreter it will create 2.6.4 compatible pycs.
However you should also be able to distribute zipped .py files instead, which should be version independent (the main gotchas will be that 2.7 supports a few features, like dict comprehensions and OrderedDict, that 2.6 does not have).
The biggest wrinkle will be binaries: any code that relies on .so or .pyd modules probably won't work between intepreter versions. I usually end up having to pack version-specific binaries into the zip and extract them at startup time.