Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

use pip install command in recipes Yocto Project

I need to use an existing library on this site https://pypi.python.org/pypi/SpeechRecognition/

library present format compressed SpeechRecognition-3.4.3.tar.gz

can I use

pip install SpeechRecognition

in overrider functions like do_fetch , do_install in recipe file ?

To install this library in the image

like image 326
Mohamed Okasha Avatar asked Dec 25 '22 07:12

Mohamed Okasha


1 Answers

Use inherit pypi instead.Quite likely you also want to use setuptools, ie

 inherit pypi setuptools

See for example the python-flask recipe: python-flask_0.10.1.bb

like image 150
Anders Avatar answered Jan 06 '23 12:01

Anders