There's actually a way to do this with a decorator:

```
@six.add_metaclass(abc.ABCMeta)
class ...
```

This is what's used elsewhere in Astropy.