HELLO!!!!!!!!!!!!!!!

Hi my name is veki and I using py2exe for install my scripts but I have one problem.In my Python2.4 when I write:

from distutils.core import setup
import py2exe

setup(name='myscript',
            version='1.0',
            scripts=['myscript.py']                                                                   #or python documentation examples
            )


error is:


Traceback (most recent call last):
&n bsp; File "<pyshell#1>", line 1, in -toplevel-
    setup(scripts=['myscript.py'])
  File "C:\Python24\distutils\core.py", line 101, in setup
    _setup_distribution = dist = klass(attrs)
  File "C:\Python24\distutils\dist.py", line 130, in __init__
    setattr(self, method_name, getattr(self.metadata, method_name))
AttributeError: DistributionMetadata instance has no attribute 'get___doc__'

or In python2.3 when I write same example,error is:

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in -toplevel-
    setup(scripts=['myscript.py'])
  File "C:\Python23\lib\distutils\core.py", line 137, in setup
    raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
SystemExit: usage:  [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] . .]
   or:  --help [cmd1 cmd2 ...]
   or:  --help-commands
   or:  cmd --help

error: no commands supplied     

                                                                                                                                       ;                                                                                      THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

--
Odaberite XXLadsl - od sada 2 x brži uz iste cijene priključka i paketa!
Više saznajte na http://www.iskon.biz/xxladsl