I am trying to get the SWIG "simple" example working under Visual Studio 2010 and Python 3.3.0. The important output is:

1>  Performing Custom Build Tools
1>  In order to function correctly, please ensure the following environment variables are correctly set:
1>  PYTHON_INCLUDE: C:\dev\Python33\include
1>  PYTHON_LIB: C:\dev\Python33\libs\python33.lib
1>CUSTOMBUILD : swig error : Unrecognized option C:\Users\Ian
1>  Use 'swig -help' for available options.

The issue seems to be that there's a space in the path. My Windows user name is "Ian Mallett", not "Ian", so I think that whatever was being passed to SWIG was being passed incorrectly.

How should I fix this?