astropy/astropy — Issue #139: Build broken on Windows using mingw32
Author: iguananaut
Created: 2012-01-31 21:22:33+00:00
State: open

I'm trying to set up a build bot of Astropy for Windows (specifically XP). I don't have any of the Windows compilers installed, and am instead using mingw32:

```
./setup.py build_ext -c mingw32
```

Which gives me an error over the `/MANIFEST` switch that gets added. Unfortunately, Astropy adds that switch if sys.platform is windows, regardless of which compiler is being used. It should go by compiler instead of platform using the `get_distutils_option()` function.