Message82258
Removing cmp() breaks distutils. I get the following exception, for
example using the just released version 3.0.1:
Traceback (most recent call last):
File "setup.py", line 318, in <module>
classifiers = classifiers)
File "c:\Python30\lib\distutils\core.py", line 149, in setup
dist.run_commands()
File "c:\Python30\lib\distutils\dist.py", line 942, in run_commands
self.run_command(cmd)
File "c:\Python30\lib\distutils\dist.py", line 962, in run_command
cmd_obj.run()
File "c:\Python30\lib\distutils\command\build.py", line 128, in run
self.run_command(cmd_name)
File "c:\Python30\lib\distutils\cmd.py", line 317, in run_command
self.distribution.run_command(command)
File "c:\Python30\lib\distutils\dist.py", line 962, in run_command
cmd_obj.run()
File "c:\Python30\lib\distutils\command\build_ext.py", line 306, in run
force=self.force)
File "c:\Python30\lib\distutils\ccompiler.py", line 1110, in new_compiler
return klass(None, dry_run, force)
File "c:\Python30\lib\distutils\cygwinccompiler.py", line 314, in __init__
if self.gcc_version <= "2.91.57":
File "c:\Python30\lib\distutils\version.py", line 64, in __le__
c = self._cmp(other)
File "c:\Python30\lib\distutils\version.py", line 341, in _cmp
return cmp(self.version, other.version)
NameError: global name 'cmp' is not defined |
|
Date |
User |
Action |
Args |
2009-02-16 18:15:43 | atuining | set | recipients:
+ atuining, lemburg, brett.cannon, georg.brandl, rhettinger, amaury.forgeotdarc, mark.dickinson, pitrou, christian.heimes, benjamin.peterson, gpolo |
2009-02-16 18:15:43 | atuining | set | messageid: <1234808143.03.0.329906215362.issue1717@psf.upfronthosting.co.za> |
2009-02-16 18:14:42 | atuining | link | issue1717 messages |
2009-02-16 18:14:41 | atuining | create | |
|