The I2C and SPI API depend on support in the kernel. Recent raspbian kernels should be fine.

Installation

The library is currently under active development, so we do not
recommend installing it into the system-wide Python libraries.
Instead, you can either use it without installation or install it into
an isolated Python development environment created with
virtualenv.

To use the library without installation, add the full path of the
source tree to the PYTHONPATH environment variable. For example: