I'm trying to build dupeguru-me on Fedora 17. The pre-requisites
are installed, source checked out via hg, but when I get to the
build.py step, I get:
$ python build.py --clean Traceback (most recent call last):
File "build.py", line 20, in from hscommon import sphinxgen File
"/home/flowerpt/src/dupeguru/dupeguru-me/dupeguru-me/hscommon/sphinxgen.py",
line 12, in from .build import print_and_do, read_changelog_file,
filereplace File
"/home/flowerpt/src/dupeguru/dupeguru-me/dupeguru-me/hscommon/build.py",
line 290 def copy_resources(self, *resources, use_symlinks=False):
^ SyntaxError: invalid syntax
confirming by hand:
$ python -m py_compile
/home/flowerpt/src/dupeguru/dupeguru-me/dupeguru-me/hscommon/build.py
SyntaxError: ('invalid syntax',
('/home/flowerpt/src/dupeguru/dupeguru-me/dupeguru-me/hscommon/build.py',
290, 53, ' def copy_resources(self, *resources,
use_symlinks=False):\n'))
Python version is:
python-2.7.3-7.2.fc17.x86_64
I looked at the function definition syntax BNF python.org, and I
don't see the obvious problem, but I'm definitely not a python
hacker.