From 91bb131713322486cf06182bd004a1e17ad96382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20S=C3=B8borg?= Date: Fri, 29 May 2020 15:35:54 +0000 Subject: [PATCH] Add dependency: smbus2 Fixes: ```python >>> import bme680 >>> sensor = bme680.BME680(bme680.I2C_ADDR_PRIMARY) Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.7/dist-packages/bme680/__init__.py", line 22, in __init__ import smbus ModuleNotFoundError: No module named 'smbus' ``` --- library/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/setup.py b/library/setup.py index f40026b..3e0c0c9 100755 --- a/library/setup.py +++ b/library/setup.py @@ -50,5 +50,5 @@ setup( classifiers=classifiers, packages=['bme680'], py_modules=[], - install_requires=[] + install_requires=['smbus2'] )