Re: [Distutils] bugfix for GUI.exe launcher
At 02:22 PM 1/3/2008 -0500, Alexander Michael wrote:
I raised this issue in the beginning of December [1]_ but haven't received a response yet (nor have I seen it corrected in the SVN). I would like to see this corrected, but I was under the impression that bug reports for setuptools should be sent to the distutils-sig mailling list. Do you know how we should next proceed to get this fixed?
I've been having difficulty reproducing the error, so it's hard for me to confirm that the patch fixes it. If somebody wants to extend their patch to include a test that fails on their system without the patch but succeeds with it, I'd be happy to go ahead and include it. See setuptools/tests/win_script_wrapper.txt for the existing test code, which currently only covers the CLI wrapper, not the GUI one.
On Jan 3, 2008 4:12 PM, Phillip J. Eby
At 02:22 PM 1/3/2008 -0500, Alexander Michael wrote:
I raised this issue in the beginning of December [1]_ but haven't received a response yet (nor have I seen it corrected in the SVN). I would like to see this corrected, but I was under the impression that bug reports for setuptools should be sent to the distutils-sig mailling list. Do you know how we should next proceed to get this fixed?
I've been having difficulty reproducing the error, so it's hard for me to confirm that the patch fixes it. If somebody wants to extend their patch to include a test that fails on their system without the patch but succeeds with it, I'd be happy to go ahead and include it.
See setuptools/tests/win_script_wrapper.txt for the existing test code, which currently only covers the CLI wrapper, not the GUI one.
I've added a test for the GUI wrapper to the referenced file, which I've
attached. Running doctest in verbose mode on it produces:
**********************************************************************
File "win_script_wrapper.txt", line 129, in win_script_wrapper.txt
Failed example:
print output.read()
Expected:
<BLANKLINE>
Got:
Could not exec #!C:\Python25\python.exe
**********************************************************************
File "win_script_wrapper.txt", line 131, in win_script_wrapper.txt
Failed example:
print open(os.path.join(sample_directory, 'test_output.txt'), 'rb').read()
Exception raised:
Traceback (most recent call last):
File "C:\Python25\lib\doctest.py", line 1212, in __run
compileflags, 1) in test.globs
File "
participants (2)
-
Alexander Michael
-
Phillip J. Eby