Closed jsf80238 closed 9 years ago
Hi, thanks for submitting this!
First, you need to have setuptools
installed in order to properly run python setup.py ...
. It seems to be running fine in your case without it, since only install_requires
doesn't work without setuptools, and the only requirement (six
) isn't needed for python setup.py build
. But you really should just install setuptools
.
Second, it appears your C compiler is more strict than mine. I've fixed my C code to declare all variables at the beginning of function definitions, which is what caused the error.
Could you try building fuzzysearch
again (from the master branch) and tell me whether it works now?
Also, could you mention which version of Linux this is?
Was able to compile, thank you Tal.
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty
$ uname -a Linux goldenrule 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
By the way, I believe setuptools was installed.
$ python -c 'import setuptools' [no error]
Thanks for the followup. I'm happy that it works!
Regarding setuptools, indeed it was a problem with setup.py
. I had already fixed it, but the commit was not yet included in the first version which you used.