diff --git a/README.rst b/README.rst index 2e63347..e4dae81 100644 --- a/README.rst +++ b/README.rst @@ -119,9 +119,10 @@ Running unit tests Running acceptance tests ------------------------ -Additionally to unit test dependencies, you also need OpenCV, Eel and Chrome/Chromium browser. +Additionally to unit test dependencies, you also need OpenCV, Eel, scrot and Chrome/Chromium browser. OpenCV is used because this tests are testing also confidence level. Browser is used by Eel for cross-platform GUI demo application. +scrot is used for capturing screenshots. :: $ pip install opencv-python eel diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..c2d7a6f --- /dev/null +++ b/setup.cfg @@ -0,0 +1,5 @@ +[bdist_wheel] +universal = 1 + +[metadata] +license_files = LICENSE diff --git a/src/ImageHorizonLibrary/recognition/_recognize_images.py b/src/ImageHorizonLibrary/recognition/_recognize_images.py index e4b8248..b2ed9d5 100644 --- a/src/ImageHorizonLibrary/recognition/_recognize_images.py +++ b/src/ImageHorizonLibrary/recognition/_recognize_images.py @@ -178,7 +178,8 @@ def try_locate(ref_image): else: if self.confidence: LOGGER.warn("Can't set confidence because you don't " - "have OpenCV (python-opencv) installed.") + "have OpenCV (python-opencv) installed " + "or a confidence level was not given.") location = ag.locateOnScreen(ref_image) except ImageNotFoundException as ex: LOGGER.info(ex)