Beginning setup problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vedran@v-programs.com

    #1

    Beginning setup problem

    Hello again,

    Before few months,I write to this mailing list with python script
    install problem,but nobody give me right solution.I work on windows
    XP,and Python 2.4.
    Now,when I write in Python 2.4:
    >>from distutils.core import setup
    >>setup(..... .) # whatever I write
    I got the error:


    Traceback (most recent call last):
    File "<pyshell#1 >", line 1, in -toplevel-
    setup()
    File "C:\Python24\di stutils\core.py ", line 101, in setup
    _setup_distribu tion = dist = klass(attrs)
    File "C:\Python24\di stutils\dist.py ", line 130, in __init__
    setattr(self, method_name, getattr(self.me tadata, method_name))
    AttributeError: DistributionMet adata instance has no attribute
    'get___doc__'

    When I run setup.py with CMD:

    python setup.py install (or build or install)

    Again I got the error:
    Traceback (most recent call last):
    File "<pyshell#1 >", line 1, in -toplevel-
    setup()
    File "C:\Python24\di stutils\core.py ", line 101, in setup
    _setup_distribu tion = dist = klass(attrs)
    File "C:\Python24\di stutils\dist.py ", line 130, in __init__
    setattr(self, method_name, getattr(self.me tadata, method_name))
    AttributeError: DistributionMet adata instance has no attribute
    'get___doc__'

    Regards,
    Vedran,
    v-programs

  • Fredrik Lundh

    #2
    Re: Beginning setup problem

    vedran@v-programs.com wrote:
    Before few months,I write to this mailing list with python script
    install problem,but nobody give me right solution.I work on windows
    XP,and Python 2.4.
    Now,when I write in Python 2.4:
    >
    >>>from distutils.core import setup
    >>>setup(...... ) # whatever I write
    can you be a bit more precise?
    I got the error:
    >
    Traceback (most recent call last):
    File "<pyshell#1 >", line 1, in -toplevel-
    setup()
    >>from distutils.core import setup
    >>setup()
    usage: [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
    or: --help [cmd1 cmd2 ...]
    or: --help-commands
    or: cmd --help

    error: no commands supplied

    </F>

    Comment

    Working...