Closed toabctl closed 8 years ago
Why dont you use https://build.opensuse.org/package/view_file/devel:languages:python/elasticsearch/elasticsearch.spec?expand=1 ? Of course that does not fix the error, but gives you a spec...
Why dont you use https://build.opensuse.org/package/view_file/devel:languages:python/elasticsearch/elasticsearch.spec?expand=1 ? Of course that does not fix the error, but gives you a spec...
I want the python bindings, not the daemon itself.
BTW latest fpm with latest pip do the trick
This is almost certainly the same issue as #41; please take a look there and see if the proposed pull request #42 helps you understand what's going wrong.
Works with latest commit 54e5358560363ee1377f972dcf9a704ffe2efadf
$ py2pack generate -f python-elasticsearch.spec elasticsearch generating spec file for elasticsearch... Traceback (most recent call last): File "/usr/bin/py2pack", line 22, in
main()
File "/usr/lib/python2.7/site-packages/py2pack/init.py", line 255, in main
args.func(args)
File "/usr/lib/python2.7/site-packages/py2pack/init.py", line 155, in generate
_augment_data_from_tarball(args, tarball_file[0], data)
File "/usr/lib/python2.7/site-packages/py2pack/init.py", line 117, in _augment_data_from_tarball
_parse_setup_py(f.extractfile(setup_filename), data)
File "/usr/lib/python2.7/site-packages/py2pack/init.py", line 104, in _parse_setup_py
data["install_requires"] = eval(match.group(1))
File "", line 4
tests_require = [
^
SyntaxError: invalid syntax