py2exe: Skip archive ignored
Question: I'm probably making a stupid error somewhere but i can't find it. Here is my
setup.py:

    
    
    import py2exe
    from distutils.core import setup
    
    setup(windows=['Gui.py'],
        data_files = [('Drivers', ['Drivers/chromedriver.exe',
                                   'Drivers/IEDriverServer.exe']
                     )],
        options={
            "py2exe":{
                "skip_archive": True,
                "unbuffered": True,
                "optimize": 2
            }
    })
    

The command i'm running is:

**python setup.py py2exe**

All of my files are in setup.py (no subdirectories)

I'm using:

  * **python 3.4.2**
  * **py2exe 0.9.2.2**

The error i'm getting is that in /dist archive.zip is still here and is not
divided in subdirectories.

Any help would be apreciated


Answer: Your data_files definition doesn't look right, shouldn't it be:

    
    
    data_files = [('Drivers', ['Drivers/chromedriver.exe',
                       'Drivers/IEDriverServer.exe'])], 
    

i.e. a ',' after 'Drivers'

Is the error you are getting an exception? or ....?

