kismet-packages icon indicating copy to clipboard operation
kismet-packages copied to clipboard

Python2, package requirements requirement for OpenWRT packages?

Open kitchung opened this issue 3 years ago • 3 comments

Do we actually need python2 and the python3-cython and python3-numpy (v1.19.1) packages?

The Makefiles RTLSDR capture packages for Kismet along with Python packages (cython, numpy, protobuf websocket) have the following denoting the dependencies for both Python 2.x and 3.x:

include $(TOPDIR)/feeds/packages/lang/python/python-package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk

The Setup.py for the these capture packages have only a dependency for Python >=3.2: python_requires='>=3.2',

OpenWRT currently supports Python3 with Python2 moved to https://github.com/openwrt/packages-abandoned

I've successfully in compiled for for openWRT-21.02 after commenting out the need for python-package.mk:

  • RTLSDRcapture packages
  • python3-protobuf
  • python3-websockets

python3-cython never became a dependency for me and I used python3-numpy from OpenWRT's feed instead.

Am i missing anything by commenting out python3, using OpenWRT's python3-numpy (v1.20.2) package and not compiling this repo's python3-cython?

Caveat: I'm a beginner with Kismet and intermediate in building software.

kitchung avatar Jul 20 '21 01:07 kitchung