makepy generates empty file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • artem.marchenko@gmail.com

    #1

    makepy generates empty file

    Hi

    I am trying to use makepy to generate wrappers from *.tlb for examples
    for GoogleDesktopSe arch SDK
    (http://desktop.google.com/downloadsdksubmit). However makepy generates
    only very short __init__.py and no other files.
    Unfortunately, I am quite new both to Python and COM and can hardly
    guess what's wrong :(
    Please, help.

    Here is the contents of the generated __init__.py if it helps:

    # -*- coding: mbcs -*-
    # Created by makepy.py version 0.4.92
    # By python version 2.4 (#60, Feb 9 2005, 19:03:27) [MSC v.1310 32 bit
    (Intel)]
    # From type library 'GoogleDesktopC omponentSample1 .dll'
    # On Sat Apr 09 01:48:14 2005
    """GoogleDeskto pComponentSampl e1 1.0 Type Library"""
    makepy_version = '0.4.92'
    python_version = 0x20400f0

    import win32com.client .CLSIDToClass, pythoncom
    import win32com.client .util
    from pywintypes import IID
    from win32com.client import Dispatch

    # The following 3 lines may need tweaking for the particular server
    # Candidates are pythoncom.Missi ng and pythoncom.Empty
    defaultNamedOpt Arg=pythoncom.E mpty
    defaultNamedNot OptArg=pythonco m.Empty
    defaultUnnamedA rg=pythoncom.Em pty

    CLSID = IID('{3921D68F-6B14-4189-BA5D-2117A9DE67B6}')
    MajorVersion = 1
    MinorVersion = 0
    LibraryFlags = 8
    LCID = 0x0

    RecordMap = {
    }

    CLSIDToClassMap = {}
    CLSIDToPackageM ap = {
    '{95DA1281-AEB5-45A4-A71A-B2E57EA41E0F}' : 'IndexShortcut' ,
    '{452FE2BF-D9C4-43FD-9137-78AE170C3EB3}' : 'IIndexShortcut ',
    }
    VTablesToClassM ap = {}
    VTablesToPackag eMap = {
    '{452FE2BF-D9C4-43FD-9137-78AE170C3EB3}' : 'IIndexShortcut ',
    }


    NamesToIIDMap = {
    'IIndexShortcut ' : '{452FE2BF-D9C4-43FD-9137-78AE170C3EB3}',
    }

Working...