Guys,

This works - thanks for your support. 

import sys
from cx_Freeze import setup, Executable

build_exe_options = {
    "includes": ['matplotlib.backends.backend_tkagg'],
    
    "packages": ["Tkinter",
                 "tkFileDialog"],
    
    "excludes" : ['collections.abc'],
    "include_files": []}

base = None
if sys.platform == "win32":
    base = "Win32GUI"

setup(  name = "doordata",
        version = "0.1",
        description = "My GUI application!",
        options = {"build_exe": build_exe_options},
        executables = [Executable("PDF1.py", base=base)])

Regards
Very impressed and happy



-----Original Message-----
From: Niko Wenselowski [mailto:n.wenselow...@uib.de] 
Sent: 04 February 2016 09:51
To: cx-freeze-users@lists.sourceforge.net
Subject: Re: [cx-freeze-users] cx_freeze errors

Hi Steve,

On 04.02.2016 09:44, Steve wrote:
> I get the error cx_Freeze.freezer.ConfigError: no file named sys (for 
> module collections.sys)
Please try adding this to the 'build_exe' dict:

"excludes": [
        "collections.sys",  # Fix for
https://bitbucket.org/anthony_tuininga/cx_freeze/issues/127/collectionssys-e
rror
        "collections.abc",  # Fix for
https://bitbucket.org/anthony_tuininga/cx_freeze/issues/127/collectionssys-e
rror
    ],



-Niko



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to