#5 raises exceptions within distutils

closed-invalid
nobody
None
5
2002-07-31
2002-05-11
Pierre Johnson
No

OS: Win 98 SE

location of python instance:
C:\langs\Python\Python2.2\

location of setup.py file:
C:\langs\Python\Python2.2\Lib\site-packages\py2exe\

path:

C:\LANGS\PYTHON\PYTHON2.2\win32
C:\LANGS\PYTHON\PYTHON2.2\win32\lib
C:\LANGS\PYTHON\PYTHON2.2
C:\LANGS\PYTHON\PYTHON2.2\Pythonwin
C:\LANGS\PYTHON\PYTHON2.2\DLLs
C:\LANGS\PYTHON\PYTHON2.2\lib
C:\LANGS\PYTHON\PYTHON2.2\lib\lib-tk
C:\LANGS\PYTHON\PYTHON2.2\lib\site-packages
C:\LANGS\PYTHON\PYTHON2.2\lib\site-packages\Numeric
C:\langs\Python\Python2.2
c:\temp
c:\langs\python\python2.2\distutils
c:\langs\python\python2.2\doc
c:\langs\python\python2.2\include
c:\langs\python\python2.2\pythonwin\pywin
c:\langs\python\python2.2\tcl
c:\langs\python\python2.2\tools\idle
c:\langs\python\python2.2\tools\pynche
c:\langs\python\python2.2\tools\scripts
c:\langs\python\python2.2\tools\versioncheck
c:\langs\python\python2.2\tools\webchecker
c:\langs\python\python2.2\win32\scripts
c:\langs\python\python2.2\win32com
c:\langs\python\python2.2\win32com\client
c:\langs\python\python2.2\win32com\server
c:\langs\python\python2.2\win32com\servers
c:\langs\python\python2.2\lib\site-packages\xmlrpclib
c:\langs\python\python2.2\lib\site-packages\zopeclient
c:\langs\python\python2.2\jserve
c:\langs\python\python2.2\lib\site-packages\py2exe

from a dos box error occurs when

c:\>python setup.py py2exe

Traceback (most recent call last):
File "C:\LANGS\PYTHON\PYTHON2.2
\Pythonwin\pywin\framework\scriptutils.py", line 301,
in RunScript
exec codeObject in __main__.__dict__
File "C:\langs\Python\Python2.2\setup.py", line 5,
in ?
setup(name=demoC,scripts=[demoC.py],)
File "C:\LANGS\PYTHON\PYTHON2.2\distutils\core.py",
line 101, in setup
_setup_distribution = dist = klass(attrs)
File "C:\LANGS\PYTHON\PYTHON2.2\distutils\dist.py",
line 130, in __init__
setattr(self, method_name, getattr(self.metadata,
method_name))
AttributeError: DistributionMetadata instance has no
attribute 'get___doc__'

Discussion

  • Thomas Heller
    Thomas Heller
    2002-06-13

    Logged In: YES
    user_id=11105

    Can you upload your setup.py file so that I can try to
    reproduce this?

     
  • Thomas Heller
    Thomas Heller
    2002-07-31

    • status: open --> closed-invalid
     
  • Thomas Heller
    Thomas Heller
    2002-07-31

    Logged In: YES
    user_id=11105

    No response.