On Tue, Jul 15, 2014 at 12:13 AM, david.johnstone < [email protected]> wrote:
Good Afternoon, > > When I try to install Trac on SUSE 11 SP3, easy_install fails with a > syntax error (see below) > > HELP!!!!!! > > any ideas how to fix? > > Thank you. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > subtrac:~/.pip # easy_install --dry-run trac > Searching for trac > Reading https://pypi.python.org/simple/trac/ > Reading http://projects.edgewall.com/trac > Reading http://projects.edgewall.com/trac/wiki/TracDownload > Reading http://trac.edgewall.com/ > Best match: Trac 1.0.1 > Downloading > https://pypi.python.org/packages/source/T/Trac/Trac-1.0.1.zip#md5=7a > 2577262fa6dd8bf3136d8377130a90 > Processing Trac-1.0.1.zip > Writing /tmp/easy_install-5MhbP9/Trac-1.0.1/setup.cfg > Running Trac-1.0.1/setup.py -n -q bdist_egg --dist-dir > /tmp/easy_install-5MhbP9/ > Trac-1.0.1/egg-dist-tmp-8LmUyV > Traceback (most recent call last): > File "/usr/local/bin/easy_install", line 9, in <module> > load_entry_point('setuptools==5.4.1', 'console_scripts', > 'easy_install')() > File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", > line 2147, in main > File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", > line 2133, in with_ei_usage > File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", > line 2150, in <lambda> > File "/usr/lib/python2.6/distutils/core.py", line 152, in setup > dist.run_commands() > File "/usr/lib/python2.6/distutils/dist.py", line 975, in > run_commands self.run_command(cmd) > File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command > cmd_obj.run() > File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", > line 370, in run > File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", > line 613, in easy_install > File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", > line 643, in install_item > File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", > line 833, in install_eggs > File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", > line 1055, in build_and_install > File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", > line 1040, in run_setup > File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 63, in > run_setup > File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 109, in run > File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 62, in > runner > File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 37, in > _execfile > File "/tmp/easy_install-5MhbP9/Trac-1.0.1/setup.py", line 14 > ^ > SyntaxError: invalid syntax > subtrac:~/.pip # > > It's strange that it would fail on line 14 because that's a blank line: http://trac.edgewall.org/browser/tags/trac-1.0.1/setup.py?marks=14 I guess we should do some testing with this latest version of setuptools you are using, 5.4.1: https://pypi.python.org/pypi/setuptools -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
