[Patches] [ python-Patches-993943 ] Unicode in distutils.core.setup()

SourceForge.net noreply at sourceforge.net
Mon Jul 19 19:14:17 CEST 2004


Patches item #993943, was opened at 2004-07-19 19:09
Message generated for change (Comment added) made by doerwalter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=993943&group_id=5470

Category: Distutils and setup.py
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Thomas Heller (theller)
Summary: Unicode in distutils.core.setup()

Initial Comment:
distutils.core.setup() should support Unicode objects for 
the author argument and others and properly show them 
in the Windows installer (currently repr() is used one the 
value, which leads to strange results. Attached is 
Thomas Heller's patch for that.

----------------------------------------------------------------------

>Comment By: Walter Dörwald (doerwalter)
Date: 2004-07-19 19:14

Message:
Logged In: YES 
user_id=89016

Testing this patch doesn't work for me, but this seems to be 
more a problem of the build process than of this patch. 
Updating to CVS head on Windows, compiling the pythoncore 
and python target in Visual C++ .net Standard (without 
applying the patch) and running a setup script with this 
python.exe gives me the following:
\Python-current\dist\src\PCbuild\python setup.py bdist --
formats=wininst
running bdist
running bdist_wininst
running build
running build_py
Traceback (most recent call last):
  File "setup.py", line 50, in ?
    package_dir={"ll": ""}
  File "D:\Python-current\dist\src\lib\distutils\core.py", line 
150, in setup
    dist.run_commands()
  File "D:\Python-current\dist\src\lib\distutils\dist.py", line 
951, in run_commands
    self.run_command(cmd)
  File "D:\Python-current\dist\src\lib\distutils\dist.py", line 
971, in run_command
    cmd_obj.run()
  File "D:\Python-
current\dist\src\lib\distutils\command\bdist.py", line 146, in 
run
    self.run_command(cmd_name)
  File "D:\Python-current\dist\src\lib\distutils\cmd.py", line 
333, in run_command
    self.distribution.run_command(command)
  File "D:\Python-current\dist\src\lib\distutils\dist.py", line 
971, in run_command
    cmd_obj.run()
  File "D:\Python-
current\dist\src\lib\distutils\command\bdist_wininst.py", line 
127, in run
    assert self.skip_build, "Should have already checked this"
AssertionError: Should have already checked this

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=993943&group_id=5470


More information about the Patches mailing list