cx freeze - python cx_freeze error: no commands supplied -
hi i'm python newbie trying out cx_freeze , doing wrong. code basic can be. hello.py in c:/python27 folder.
i'm using python 2.7 on windows 7
import sys cx_freeze import setup, executable setup( name = "test_run", version = "3.1", description = "hello", executables = [executable("hello.py", base = "win32gui")])
i'm getting following when executing script-
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
where slipping up?
danny
you using python setup.py
right? if so, error should get. error says, need give commands. build
creates executable other mandatory files. bdist-msi
creates .msi
installer. there other commands, can search them easily.
Comments
Post a Comment