[Tutor] please help

GREENDAY31087@aol.com GREENDAY31087@aol.com
Mon Mar 31 21:47:02 2003


--part1_20.df5196c.2bba575e_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Concerning py2exe: I think I'm doing this right but it still wont work for 
me. I have the setup file and the script file. 
here they are:

# setup.py
from distutils.core import setup
import py2exe

setup(name="test",
      scripts=["test.py"],
)


#test.py
print "THIS IS A TEST"

And When I start the setup program,  it says:

usage: test.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]    
    or: test.py --help [cmd1 cmd2 ...]    
    or: test.py --help-commands    
    or: test.py cmd --help 
error: no commands supplied

Am I missing something that's completely obvious? I apologize for being kinda 
thick but I'm trying to get it to work.
Thanks

--part1_20.df5196c.2bba575e_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<HTML><FONT FACE=3Darial,helvetica><FONT  SIZE=3D2 FAMILY=3D"SANSSERIF" FACE=
=3D"Arial" LANG=3D"0">Concerning py2exe: I think I'm doing this right but it=
 still wont work for me. I have the setup file and the script file. <BR>
here they are:<BR>
<BR>
</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D1=
 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0"># setup.py<BR>
from distutils.core import setup<BR>
import py2exe<BR>
<BR>
setup(name=3D"test",<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scripts=3D["test.py"],<BR>
)<BR>
</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2=
 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0"><BR>
<BR>
</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D1=
 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0">#test.py<BR>
print "THIS IS A TEST"</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-CO=
LOR: #ffffff" SIZE=3D2 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0"><BR>
<BR>
And When I start the setup program,&nbsp; it says:<BR>
<BR>
</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D1=
 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0">usage: test.py [global_opts]=
 cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]&nbsp;&nbsp;&nbsp; <BR>
&nbsp;&nbsp;&nbsp; or: test.py --help [cmd1 cmd2 ...]&nbsp;&nbsp;&nbsp; <BR>
&nbsp;&nbsp;&nbsp; or: test.py --help-commands&nbsp;&nbsp;&nbsp; <BR>
&nbsp;&nbsp;&nbsp; or: test.py cmd --help <BR>
error: no commands supplied<BR>
<BR>
</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2=
 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0">Am I missing something that'=
s completely obvious? I apologize for being kinda thick but I'm trying to ge=
t it to work.<BR>
Thanks<BR>
</FONT></HTML>
--part1_20.df5196c.2bba575e_boundary--