I am updating my pyadi-iio installation recipe from 0.0.14
to 0.0.15
. However the newer version no longer uses setup.py
the new recommended way to install from source is pip install .
.
Based on this question, I changed my recipe from:
LICENSE = "CLOSED"
SRC_URI[md5sum] = "d258374fab29540e9f9ee38d36257a2e"
SRC_URI[sha256sum] = "fb6a9a47ed4af5a5c50819cf9973a93ea7148c2b70d775edb71bdf0e7da292b6"
PYPI_PACKAGE = "pyadi-iio"
inherit pypi setuptools3
RDEPENDS:${PN} += " python3-numpy"
to
LICENSE = "CLOSED"
SRC_URI[md5sum] = "ea94069ddb468988fe5a6465ecdf3ac1"
SRC_URI[sha256sum] = "c3d04f027ea1d4660da825f2f2c2843f7a3d7876fa5e0c3f46725f70ccd08365"
PYPI_PACKAGE = "pyadi-iio"
inherit pypi
DEPENDS = "python3-pip-native"
RDEPENDS:${PN} += " python3-numpy"
do_install() {
pip3 install .
}
However, I get an error saying pip
can't access my .cashe/pip
folder.
How do I install a python package without setuptools3
and using pip
?