Relative Content

Tag Archive for python-poetry

Get Poetry to create a .bat file in addition to .cmd

When installing my application for running unit tests (poetry install --with dev), Poetry creates a .cmd file in the Scripts folder (in D:alocustlocust.toxfail_fast_test_mainScripts when running in tox, on GH).

How can I access a system-wide package from a Python Poetry environment?

I’m trying to get my Python project going on a Raspberry Pi. Currently, I want to capture an image on the camera and apparently picamera2 is the way to go. I installed the package via sudo apt install -y python3-picamera2 as recommended here: https://github.com/raspberrypi/picamera2/tree/main