Hi, i am new to PyPy, i'm hoping someone can help me get started.
I want to use translator to turn some python code into a pyx files so that i
can compile them and
later load them as modules in my program. I did a simple test and i was able
to get some pyrex
code from the translator, but when i saved that to a pyx file and called
'pyrexc mymodule.pyx' on
it there were errors. I noticed there is a Pyrex folder (a Pyrex fork?) in the
PyPy project, but
i'm not what to use in there to convert mymodule.pyx to a .c file so gcc can
compile it.
btw, is todays current version in svn working? I get alot of errors when
calling
translator.view(), i'm doing the test.is_perfect_number tutorial.
thanks for PyPy,
-brett
>>> t.view()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "translator.py", line 112, in view
FlowGraphPage(self).display()
File "/root/imp/dist-pypy/pypy/translator/tool/graphpage.py", line 36, in
display
get_layout(self).display()
File "/root/imp/dist-pypy/pypy/translator/tool/pygame/graphclient.py", line
60, in get_layout
return InProcessConnexion().download(homepage)
File "/root/imp/dist-pypy/pypy/translator/tool/pygame/graphclient.py", line
45, in download
return ClientGraphLayout(self, key, page.source, page.links)
File "/root/imp/dist-pypy/pypy/translator/tool/pygame/graphclient.py", line
22, in __init__
cmdexec('dot -Tplain %s>%s' % (str(DOT_FILE),str(PLAIN_FILE)))
File "/root/imp/dist-pypy/py/process/cmdexec.py", line 66, in posix_exec_cmd
''.join(out), ''.join(err))
py.__impl__.process.cmdexec.ExecutionFailed: ExecutionFailed: 127 dot -Tplain
/tmp/usession-4/graph.dot>/tmp/usession-4/graph.plain
/bin/sh: line 1: dot: command not found
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev