Nuno Teixeira wrote:
The upstream copy does not import pytest. The patch included in the port does not look correct, as the file is meant to be executed directly, without pytest, given that __main__ exists.(...)I meant "test.py"Nuno Teixeira <[email protected] <mailto:[email protected]>> escreveu (quinta, 4/09/2025 à(s) 22:18):It does. setup.py: #!/usr/bin/env python3 # Python Stream Deck Library # Released under the MIT license # # dean [at] fourwalledcubicle [dot] com # www.fourwalledcubicle.com <http://www.fourwalledcubicle.com> # import argparse import logging import os import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../src')) from StreamDeck.DeviceManager import DeviceManager from StreamDeck.ImageHelpers import PILHelper from PIL import ImageDraw import pytest <snip>
-- Charlie Li ...nope, still don't have an exit line.
OpenPGP_signature.asc
Description: OpenPGP digital signature
