User warning when cx_Freezing an application

Issue #78 resolved
Jurko Gospodnetić
created an issue

When freezing a simple application with the following content:

File: aaa.py

print("Hello world")
import asyncio
import sys
print(sys.version_info)

File: setup.py

from cx_Freeze import setup, Executable

setup(name="hhh",
      version="1.0",
      description="Haleluja!",
      options=dict(build_exe=dict(packages=[], excludes=[])),
      executables=[Executable("aaa.py", base="Console")])

I get the following UserWarning:

C:\Program Files\Python\Python340\lib\site-packages\cx_freeze-4.3.3-py3.4-win-amd64.egg\cx_Freeze\freezer.py:585: UserWarning: Duplicate name: 'importlib/__init__.pyc'
  outFile.writestr(zinfo, data)

Environment:

This issue has been extracted from comment 1415039 in pull request #47.

Comments (4)

  1. lovetox

    So i have this warning on freezing my application
    in the zip file is 2 times the same file init.pyc, dont know how this is possible but it is.

    how can i fix this?

  2. Log in to comment