I've been following the tutorial here - http://www.py2exe.org/index.cgi/Tutorial
- and everything goes fine until 5.2.1, when I try to bundle the C runtime DLL MSVCR90.dll. I found it, copied it to my project directory, and deleted the unnecessary files as shown in the tutorial. My setup.py looks like this, after adding the code showin in 5.2.1:
from distutils.core import setup
from glob import glob
I get an error for the line that says "etc" -- when I run "python setup.py py2exe" from the command line, it returns the following error:
SyntaxError: non-keyword arg after keyword arg
Everything runs fine if I remove all the code about MSVCR90.dll (step 5 of the tutorial). I'm running Python 2.6 on Windows XP. Any ideas on what I'm doing wrong?