2 Commits
Author SHA1 Message Date
Nicolai Søborg 02ca7a4353 Update dependency requirement
If anyone is reading the file they will know to install `python3-smbus`,
but if someone just do a quick `pip3 install bme680` then make sure to pull smbus from PyPI
2020-11-01 01:11:16 +00:00
Nicolai Søborg 91bb131713 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'                                                                                                                                                               
```
2020-05-29 15:35:54 +00:00