title: cx_Freeze TypeError dist must be a Distribution instance
body: <p>I am not finding a specific topic on this issue with the setup file for cx_Freeze.
  I am trying to create an exe for my program but something is not wright with the <code>distutils</code>. I am not able to locate an update <code>whl</code> for this library so I am not sure if there is a known fix for this.</p>
  
  <p>The program works fine without error.</p>
  
  <p>Does anyone know why this issue exist.
  Please note I am not able to use <code>pip</code> from inside my work network so I have to do everything with <code>whl</code>, tar.gz' and <code>egg</code> files to install libraries.
  This is why I am trying to find an updated <code>whl</code> file for <code>distutils</code>.</p>
  
  <p>My setup.py file.</p>
  
  <pre><code>from cx_Freeze import setup, Executable
  
  base = None    
  
  build_exe_options = {'packages': ['idna',
                                    'json',
                                    'tkinter',
                                    'operator',
                                    'clipboard',
                                    'matplotlib',
                                    'tkinter.ttk ',
                                    'matplotlib.pyplot',
                                    'matplotlib.backends.backend_tkagg'],
                       'include_files': ['tracker1.json', 'tracker2.json']}
  
  setup(
      name='&lt;NAME&gt;',
      options={'build.exe': build_exe_options},
      version='&lt;0.2&gt;',
      description='&lt;some random desc&gt;',
      executables=[Executable('MAIN.py', base=base)]
  )
  </code></pre>
  
  <p>The error:</p>
  
  <pre><code>"C:\Users\user_name\Desktop\Python 3.6.2\python.exe" "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 2016.2.3\helpers\pycharm\pycharm_setup_runner.py" "C:\Users\user_name\Desktop\Python Work Projects\GATE\setup.py"
  Testing started at 2:55 PM ...
  Traceback (most recent call last):
  running pycharm_test
    File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 2016.2.3\helpers\pycharm\pycharm_setup_runner.py", line 26, in &lt;module&gt;
      exec (fh.read(), globals(), locals())
    File "&lt;string&gt;", line 21, in &lt;module&gt;
    File "C:\Users\user_name\Desktop\Python 3.6.2\lib\site-packages\cx_Freeze\dist.py", line 349, in setup
      distutils.core.setup(**attrs)
    File "C:\Users\user_name\Desktop\Python 3.6.2\lib\distutils\core.py", line 148, in setup
      dist.run_commands()
    File "C:\Users\user_name\Desktop\Python 3.6.2\lib\distutils\dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "C:\Users\user_name\Desktop\Python 3.6.2\lib\distutils\dist.py", line 972, in run_command
      cmd_obj = self.get_command_obj(command)
    File "C:\Users\user_name\Desktop\Python 3.6.2\lib\distutils\dist.py", line 847, in get_command_obj
      cmd_obj = self.command_obj[command] = klass(self)
    File "C:\Users\user_name\Desktop\Python 3.6.2\lib\site-packages\setuptools\__init__.py", line 147, in __init__
      _Command.__init__(self, dist)
    File "C:\Users\user_name\Desktop\Python 3.6.2\lib\distutils\cmd.py", line 57, in __init__
      raise TypeError("dist must be a Distribution instance")
  TypeError: dist must be a Distribution instance
  </code></pre>