can't build for python 3
antonymayi opened this issue · 3 comments
antonymayi commented
how is it supposed to be built for python 3(.5) - the depot_tools look to be supported only on python 2?
File "/tmp/v8eval/depot_tools/fetch.py", line 63
print 'Running: %s' % (' '.join(pipes.quote(x) for x in cmd))
^
SyntaxError: invalid syntax
/tmp/v8eval/build.sh: 55: cd: can't cd to v8
antonymayi commented
ok, managed to build it:
- run just
v8eval/build.sh
under python2 environment - delete
v8eval/build/libv8eval_python.a
andv8eval/build/CMakeFiles/v8eval_python.dir/src/v8eval_python.cxx.o
- switch to python3 environment
- chdir to
v8eval/build
and runmake
to rebuild the python extensions for python3 - edit
v8eval/setup.py
commenting out the line where it callssystem(v8eval_root + "/build.sh")
(we've just done that build manually) - run
v8eval/python/build.sh install
YoshiyukiMineo commented
I have fixed this issue. Let me know if any issues.
antonymayi commented
yes, this works great now, thanks a lot!