dvarrazzo/py-setproctitle — pull request #2 by ozanturksever (2013-02-17 23:39:57+00:00)
Title: pypy support

PyPy doesn't expose Py_GetArgcArgv. This will detect PyPy and try proc version.

>>>> import setproctitle
Traceback (most recent call last):
File "", line 1, in
ImportError: unable to load extension module '/devel/pypy-virtualenv/env/site-packages/setproctitle.pypy-20.so': /devel/pypy-virtualenv/env/site-packages/setproctitle.pypy-20.so: undefined symbol: Py_GetArgcArgv
>