title: py2exe data_files
body: <p>I am trying to build an executable for my python program like so:</p>
  
  <pre><code>from distutils.core import setup
  import py2exe, sys, os 
  import matplotlib
  import numpy
  from glob import glob
  
  sys.argv.append('py2exe')
  
  datafiles = [('files', glob(r'C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\*.*'))]
  
  setup(windows=['main.py'], data_files= datafiles, options={"py2exe": {"includes": ["matplotlib"]}})
  </code></pre>
  
  <p>This works, however, I need to include these matplotlibfiles obtained by this command as well in order to make the programm work:</p>
  
  <pre><code>matplotlib.get_py2exe_datafiles()
  </code></pre>
  
  <p>But somehow I am not able to include them into the data_files... I tried stuff like the following, but I am getting errors like "tuple' object has no attribute 'split'"  </p>
  
  <pre><code>mpl = [('files', [matplotlib.get_py2exe_datafiles()])]
  datafiles.append(mpl)
  </code></pre>
  
  <p>Also, after compiling the working version without the matplotlibfiles, I get a warning that my project is depending on several other dlls - is there any way to force them all at once into the program?</p>
  
  <p>Thanks for your help!</p>