I need to install a python module called flask-socketio in a linux image I am creating using yocto. However, there is no recipe for this module.
Is there some easy process for taking a python module which can be installed using setuptools, and creating a recipe out of it?
Edit: recipe already exists in mainstream meta-python
here as mentioned by @Parthiban
Something like this should do it:
python3-flask-socketio_3.3.2.bb
require python-flask-socketio.inc
inherit setuptools3
python-flask-socketio.inc
DESCRIPTION = "Socket.IO integration for Flask applications"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
PYPI_PACKAGE = "Flask-SocketIO"
SRC_URI[md5sum] = "298965a43f6534e8a5b24d1ba1fc4186"
SRC_URI[sha256sum] = "8d8f9f104db5ddff1b06ba322d8e158881d590144199c993fe26cf53218c7edd"
inherit pypi
note I didn't test it.