Issue #287 invalid

py2.4 compat regression in 0.6.27

Alex Clark
created an issue

{{{

!python

Traceback (most recent call last): File "<string>", line 1, in ? File "/Users/aclark/Developer/eggs-directory/distribute-0.6.27-py2.4.egg/setuptools/command/easy_install.py", line 1915, in main with_ei_usage(lambda: File "/Users/aclark/Developer/eggs-directory/distribute-0.6.27-py2.4.egg/setuptools/command/easy_install.py", line 1896, in with_ei_usage return f() File "/Users/aclark/Developer/eggs-directory/distribute-0.6.27-py2.4.egg/setuptools/command/easy_install.py", line 1919, in <lambda> distclass=DistributionWithoutHelpCommands, **kw File "/Users/aclark/Developer/buildout.python/parts/opt/lib/python2.4/distutils/core.py", line 149, in setup dist.run_commands() File "/Users/aclark/Developer/buildout.python/parts/opt/lib/python2.4/distutils/dist.py", line 946, in run_commands self.run_command(cmd) File "/Users/aclark/Developer/buildout.python/parts/opt/lib/python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "/Users/aclark/Developer/eggs-directory/distribute-0.6.27-py2.4.egg/setuptools/command/easy_install.py", line 350, in run self.easy_install(spec, not self.no_deps) File "/Users/aclark/Developer/eggs-directory/distribute-0.6.27-py2.4.egg/setuptools/command/easy_install.py", line 570, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File "/Users/aclark/Developer/eggs-directory/distribute-0.6.27-py2.4.egg/setuptools/command/easy_install.py", line 620, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/Users/aclark/Developer/eggs-directory/distribute-0.6.27-py2.4.egg/setuptools/command/easy_install.py", line 814, in install_eggs return self.build_and_install(setup_script, setup_base) File "/Users/aclark/Developer/eggs-directory/distribute-0.6.27-py2.4.egg/setuptools/command/easy_install.py", line 1094, in build_and_install self.run_setup(setup_script, setup_base, args) File "/Users/aclark/Developer/eggs-directory/distribute-0.6.27-py2.4.egg/setuptools/command/easy_install.py", line 1080, in run_setup run_setup(setup_script, args) File "/Users/aclark/Developer/eggs-directory/distribute-0.6.27-py2.4.egg/setuptools/sandbox.py", line 29, in run_setup DirectorySandbox(setup_dir).run( File "/Users/aclark/Developer/eggs-directory/distribute-0.6.27-py2.4.egg/setuptools/sandbox.py", line 78, in run return func() File "/Users/aclark/Developer/eggs-directory/distribute-0.6.27-py2.4.egg/setuptools/sandbox.py", line 32, in <lambda> {'file':setup_script, 'name':'main'} File "setup.py", line 42 except DistutilsPlatformError as e: ^ SyntaxError: invalid syntax

}}}

Comments (3)

  1. Log in to comment