Hi,

In cppyy 0.3.1, there is a bug in setup.py for systems where pypy is
not detected. I believe an incomplete patch is:

==========
$ diff -U5 setup.py.original setup.py
--- setup.py.original   2017-10-11 11:36:54.632924969 +0100
+++ setup.py    2017-10-11 11:38:08.732492901 +0100
@@ -18,10 +18,11 @@
     else:
         requirements = ['cppyy-backend']
         add_pkg = ['cppyy']
 except ImportError:
     requirements = ['CPyCppyy']
+    add_pkg = []


 setup(
     name='cppyy',
     version='0.3.1',
==========

Without this assignment to define add_pkg, the reference to "add_pkg"
fails in the setup() call. I describe the patch as incomplete because
I'm not sure what the array should contain. I do see that the relevant
direction contains both a "cppyy" and a "cppyy_compat" directory.

Any clarification welcomed.

Thanks, Shaheed

P.S. If a bug report, or a PR is preferred, please advise.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to