Export to GitHub

gui2exe - issue #7

Install From Zip File Fails on Win32


Posted on Jun 10, 2009 by Swift Dog

What steps will reproduce the problem? 1. Download v0.3 zip file. 2. On windows (w2k) type "python setup.py install" 3. Install fails.

What is the expected output? What do you see instead?

C:\Ftp\gui2exe\GUI2Exe>python setup.py install C:\Python25\lib\distutils\dist.py:263: UserWarning: Unknown distribution option: 'windows' warnings.warn(msg) C:\Python25\lib\distutils\dist.py:263: UserWarning: Unknown distribution option: 'zipfile' warnings.warn(msg) running install running build running install_data creating C:\Python25\docs creating C:\Python25\docs\images creating C:\Python25\docs\images\icons error: can't copy 'D:\MyProjects\GUI2Exe\docs\images\icon\exclamation.gif': doesn't exist or not a regular file

What version of GUI2Exe, Python and wxPython are you using? On what operating system?

0.3, 2.5.1, 2.8.10

Please provide any additional information below.

It looks like the file path is hard coded and refers to the maintainer's hard drive not a relative path to the file in the distribution. The GIF file referred in the traceback does exist in the zip distribution.

Comment #1

Posted on Oct 8, 2009 by Massive Kangaroo

Hi,

GUI2Exe is not meant to be installed as site-package with this command:

python Setup.py install

Nor to be compiled as executable. GUI2Exe should be used as-is, like a normal Python file, i.e., double-clicking on the GUI2Exe.py file on Windows or writing:

python GUI2Exe.py

On all platform (not sure about Mac though). See the explanatory note on the main page.

Status: Invalid

Labels:
Type-Defect Priority-Medium