python module not installed

I'm a Fedora packager, and while updating my python package APLpy (which depends on Astropy) I faced the following issue. As per Fedora packaging guidelines, we should use:

```bash
%build
%{__python2} setup.py build

%install
%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
```

But with this new version of APLpy, the module doesn't get copied if `--skip-build` is present (it only copies the egg):

```bash
running install
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
...
```

I have asked for help to the Fedora packaging mailing list, and a more experienced guy (Toshio) proposed a patch for Astropy to workaround this issue, but I think it is more appropiate to report here and get the changes merged upstream.

This is the link to the post in the list, so you can follow the discussion and see the patch sent by Toshio:
https://lists.fedoraproject.org/pipermail/packaging/2014-March/010087.html