I\'m trying to build a package from source by executing python setup.py py2exe
This is the section of code from setup.py, I suppose would be relevant:
I think it has something to do with the spaces in the directory. You should try using .rstrip()
. For example, put this:
directory='C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT'
directory=directory.rstrip()
You can then use the variable directory like you would have used the actual path.
This should make python able to recognize the directory where it wouldn't be able to decipher it before.