title: python: win32com and cx_Freeze - error
body: <p>I'm trying to compile a Python 3.3 script using cx_Freeze.
  The script uses win32com.client to control <a href="http://www.mediamonkey.com/" rel="nofollow">MediaMonkey</a>. This works perfect when I directly run it. But when I compile it, it throws this exception.</p>
  
  <pre><code>Traceback (most recent call last):
    File "O:\Python\3\lib\site-packages\cx_Freeze\initscripts\Console3.py", line 27, in &lt;module&gt;
      exec(code, m.__dict__)
    File "test.py", line 6, in &lt;module&gt;
      sdb = win32com.client.DispatchWithEvents("SongsDB.SDBApplication", MMEventHandler)
    File "O:\Python\3\lib\site-packages\win32com\client\__init__.py", line 260, in
   DispatchWithEvents
      clsid = disp_class.CLSID
  AttributeError: 'NoneType' object has no attribute 'CLSID'
  </code></pre>
  
  <p>It doesn't even work when I try to compile a really short script which uses <code>win32com.client</code>:</p>
  
  <pre><code>import win32com.client
  
  class MMEventHandler:
      pass
  
  sdb = win32com.client.DispatchWithEvents("SongsDB.SDBApplication", MMEventHandler)
  </code></pre>
  
  <p>And this is my setup.py script:</p>
  
  <pre><code>from cx_Freeze import setup, Executable
  
  
  includes = []
  excludes = []
  packages = ['win32com', 'shlex', 'os', 'pythoncom', 'base64', 'tornado']
  filename = "test.py"
  setup(
      name = 'Test',
      version = '0.1',
      description = 'test',
      author = 'no',
      author_email = 'someting@my.org',
      options = {'build_exe': {
          'excludes':excludes,
          'packages':packages,
          'includes':includes
          }},
      executables = [Executable(filename, base = None, icon = None)])
  </code></pre>