[Tkinter-discuss] Trouble installing PyBWidgets

gilcneth@earthlink.net gilcneth at earthlink.net
Tue Sep 13 20:28:46 CEST 2005


I see what was happening here.  I was running 'setup.py --help-commands' and my text editor was just opening up the file.  I wasn't assuming the obvious, which was that I should have been entering 'python setup.py --help-commands'.  I have gone down the 'python setup.py install' route and everything is working great.


Thank you for your help!

-- Chris

gilcneth at earthlink.net wrote:

> I have tried running setup.py and receive the following error:

> 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

> I guess I need to provide some additional commands,
> but I am not sure which commands I should provide.

hint:

python setup.py --help-commands

Standard commands:
build build everything needed to install
build_py "build" pure Python modules (copy to build directory)
build_ext build C/C++ extensions (compile/link to build directory)
build_clib build C/C++ libraries used by Python extensions
build_scripts "build" scripts (copy and fixup #! line)
clean clean up output of 'build' command
install install everything from build directory
install_lib install all Python modules (extensions and pure Python)
install_headers install C/C++ header files
install_scripts install scripts (Python or otherwise)
install_data install data files
sdist create a source distribution (tarball, zip file, etc.)
register register the distribution with the Python package index
bdist create a built (binary) distribution
bdist_dumb create a "dumb" built distribution
bdist_rpm create an RPM distribution
bdist_wininst create an executable installer for MS Windows

given your subject line, "install" might be what you want.

reading the generic installation guide can also be a good idea:

http://docs.python.org/inst/inst.html

</F> 



_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss at python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20050913/9557e882/attachment.html


More information about the Tkinter-discuss mailing list