with the latest update to yappcap I get this error
can some one let George Joseph know
as I do notknow how to report this error as there is no project in the issues tracker
#51 [47/87] RUN MAKE PYTHON=python2
#51 sha256:d764805f6554447814ddacc8e2f6e34da0cd1a88abcf200e7cbb7ec9c885792d
#51 0.274 cc -Wall -o generate_defs generate_defs.c -lpcap
#51 0.306 ./generate_defs > definitions.pxi
#51 0.310 cython yappcap.pyx
#51 0.425 /usr/lib/python2.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /usr/local/src/yappcap/yappcap.pyx
#51 0.425 tree = Parsing.p_module(s, pxd, full_module_name)
#51 0.779 warning: yappcap.pyx:783:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
#51 0.779 warning: yappcap.pyx:783:32: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
#51 0.964 python2 setup.py build_ext
#51 1.140 running build_ext
#51 1.140 error: each element of 'ext_modules' option must be an Extension instance or 2-tuple
#51 1.151 make: *** [Makefile:5: all] Error 1
#51 ERROR: executor failed running [/bin/sh -c make PYTHON=python2]: exit code: 2
to fix it you need at apply this patch
diff --git a/setup.py b/setup.py
index fb84180..f7cb5db 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,5 @@
-from Cython.Build import cythonize
from setuptools import setup, find_packages
+from Cython.Build import cythonize
import os
VERSION = '0.0.1'