mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 20:11:20 +00:00
statedetect: pylint and dependencies fixes
- Corrected the depency for opencv bindings. Even though the library is imported as "cv2", the package containing it is called "opencv-python". - pylint: ignore no-member warnings; cv2 pulls it's memebers dynamically from the underlying libopencv, so pylint can't see them.
This commit is contained in:
parent
2becd94381
commit
f12cf6d557
2
setup.py
2
setup.py
@ -80,7 +80,7 @@ params = dict(
|
||||
],
|
||||
extras_require={
|
||||
'other': ['jinja2', 'pandas>=0.13.1'],
|
||||
'statedetect': ['numpy', 'imutils', 'cv2'],
|
||||
'statedetect': ['numpy', 'imutils', 'opencv-python'],
|
||||
'test': ['nose'],
|
||||
'mongodb': ['pymongo'],
|
||||
'notify': ['notify2'],
|
||||
|
@ -12,6 +12,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
# pylint: disable=no-member
|
||||
|
||||
|
||||
"""
|
||||
@ -20,7 +21,7 @@ Requires a 'statedetection' directory in the workload directory that includes th
|
||||
and the 'templates' folder with PNGs of all templates mentioned in the yaml file.
|
||||
|
||||
Requires the following Python libraries:
|
||||
numpy, pyyaml (yaml), imutils and opencv (cv2)
|
||||
numpy, pyyaml (yaml), imutils and opencv-python
|
||||
|
||||
"""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user