title: py2exe packing data files
body: <p>I have an app to pack that contains an image as data file and I tried to run this setup.py script:</p>
  
  <pre><code>from distutils.core import setup
  import py2exe
  import matplotlib
  
  file_dati=[]
  file_dati.append(matplotlib.get_py2exe_datafiles())
  file_dati.append(('img1','C:\Users\MZompetta.000\Desktop\20130114_assortimenti\img1.gif'))
  
  setup(console=[{"script": "Int_assortimenti.py"}],
         options = {
          "py2exe": {
              "dll_excludes": ["libzmq.dll", "MSVCP90.dll"]
          }
      }, data_files=file_dati
  )
  </code></pre>
  
  <p>but I obtain this error:</p>
  
  <blockquote>
    <p>AttributeError: 'tuple' object has no attribute 'split'</p>
  </blockquote>
  
  <p>the error is referred to the line: <code>data_files=file_dati</code></p>
  
  <p>I tried other ways to compose the data_files but no way.</p>
  
  <p>Anyone can help me?</p>