I'm trying to convert my Python programs with the Py2exe library with the following setup.py code below:
    from distutils.core import setup
    import py2exe
    file = raw_input("Python file to convert:")
    setup(console=[file]) 
Then, when I enter in the program I want to convert, it says:
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
        or: setup.py --help [cmd1 cmd2 ...]
        or: setup.py --help-commands
        or: setup.py cmd --help
    error: no commands supplied
And then it stops. Do any of you know what could be causing this?
 
     
    