1
0
mirror of https://github.com/cmur2/python-bme680.git synced 2024-12-22 12:54:29 +01:00

Add dependency: smbus2

Fixes:

```python
>>> import bme680                                                                                                                                                                                          
>>> sensor = bme680.BME680(bme680.I2C_ADDR_PRIMARY)                                                                                                                                                        
Traceback (most recent call last):                                                                                                                                                                         
  File "<stdin>", line 1, in <module>                                                                                                                                                                      
  File "/usr/local/lib/python3.7/dist-packages/bme680/__init__.py", line 22, in __init__                                                                                                                   
    import smbus                                                                                                                                                                                           
ModuleNotFoundError: No module named 'smbus'                                                                                                                                                               
```
This commit is contained in:
Nicolai Søborg 2020-05-29 15:35:54 +00:00 committed by GitHub
parent 7e6bdd0dc4
commit 91bb131713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,5 +50,5 @@ setup(
classifiers=classifiers,
packages=['bme680'],
py_modules=[],
install_requires=[]
install_requires=['smbus2']
)