purple-plastic-57801
04/07/2023, 4:56 PM$(SITE_PACKAGES)/libcamera/__init__.py: pyenv-virtualenv requirements-libcamera-deps /usr/local/lib/x86_64-linux-gnu/libcamera.so
rm -rf .lc_build_temp
mkdir -p .lc_build_temp
cd .lc_build_temp \
&& git clone <https://github.com/Exclosure/libcamera.git> \
&& cd libcamera \
&& git checkout v0.0.4 \
&& PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) meson setup build -D pycamera=enabled \
&& ninja -C build \
&& echo "Copying libcamera to venv" \
&& cp -Lr ./build/src/py/libcamera $(SITE_PACKAGES)/libcamera
rm -rf .lc_build_temp
Gross I know, but.. yeah.
So question:
Is there a way to have pants look on the local host for packages else where? Can we use third party dependencies local requirements in a creative way? Unfortunately, the built package is not a wheel or sdist.happy-kitchen-89482
04/07/2023, 5:13 PMpurple-plastic-57801
04/07/2023, 5:14 PMhappy-kitchen-89482
04/07/2023, 5:14 PMpurple-plastic-57801
04/07/2023, 5:14 PMhappy-kitchen-89482
04/07/2023, 5:15 PMpurple-plastic-57801
04/07/2023, 5:16 PMhappy-kitchen-89482
04/07/2023, 7:00 PMpurple-plastic-57801
04/07/2023, 7:01 PMhappy-kitchen-89482
04/07/2023, 7:02 PMpurple-plastic-57801
04/07/2023, 7:52 PM