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\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__'

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\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__'

Regards,
Vedran,
v-programs

.



Relevant Pages

  • Re: Whats so funny? WAS Re: rotor replacement
    ... That I have to download and perhaps install them to use ... > * I have to download and build the MySQLdb package to talk to MySQL ... > servers from Python code ... I can write something using a core module instead of an external ...
    (comp.lang.python)
  • RE: Python 2.4 killing commercial Windows Python development ?
    ... > install fully useable Python on their Windows machines. ... > Quicksomething for Windows, or RealPlayer, ... The Windows application that I develop and distribute relies on Python ...
    (comp.lang.python)
  • Re: bytecode non-backcompatibility
    ... Unstable bytecodes makes updating to a newer version of Python very ... >>>tedious and risk breaking old scripts, ... > setup.py install" to install the library into site-package. ... each port has a list of all the other ports it depends ...
    (comp.lang.python)
  • HOWTO: Python 2.3 on Fedora Core 1 Linux
    ... About the 'new' Python ... Appendix A: Python Installation with Tkinter - edit: Modules/Setup.dist ... Be aware that it is always risky to install new software; ... # uncomment and/or edit those parts as indicated. ...
    (comp.lang.python)
  • Re: Python 2.4 killing commercial Windows Python development ?
    ... install fully useable Python on their Windows machines. ... different to me than having to install Shockwave, ... Quicksomething for Windows, or RealPlayer, ... The Windows application that I develop and distribute relies on Python ...
    (comp.lang.python)