Skip to content

Commit e26074e

Browse files
committed
README.md: Update badges and install instructions.
1 parent 6f7a5fd commit e26074e

File tree

1 file changed

+12
-19
lines changed

1 file changed

+12
-19
lines changed

README.md

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# BME680
22

3-
[![Build Status](https://travis-ci.org/pimoroni/bme680-python.svg?branch=master)](https://travis-ci.org/pimoroni/bme680-python)
4-
[![Coverage Status](https://coveralls.io/repos/github/pimoroni/bme680-python/badge.svg?branch=master)](https://coveralls.io/github/pimoroni/bme680-python?branch=master)
3+
[![Build Status](https://img.shields.io/github/actions/workflow/status/pimoroni/bme680-python/test.yml?branch=main)](https://github.com/pimoroni/bme680-python/actions/workflows/test.yml)
4+
[![Coverage Status](https://coveralls.io/repos/github/pimoroni/bme680-python/badge.svg?branch=main)](https://coveralls.io/github/pimoroni/bme680-python?branch=main)
55
[![PyPi Package](https://img.shields.io/pypi/v/bme680.svg)](https://pypi.python.org/pypi/bme680)
66
[![Python Versions](https://img.shields.io/pypi/pyversions/bme680.svg)](https://pypi.python.org/pypi/bme680)
77

@@ -22,33 +22,26 @@ on your Raspberry Pi desktop, as illustrated below:
2222
In the new terminal window type the command exactly as it appears below (check for typos) and follow the on-screen instructions:
2323

2424
```bash
25-
curl https://get.pimoroni.com/bme680 | bash
25+
git clone https://github.com/pimoroni/bme680-python
26+
cd bme680-python
27+
./install.sh
2628
```
2729

28-
### Manual install:
30+
### Development:
2931

30-
#### Library install for Python 3:
32+
If you want to contribute, or like living on the edge of your seat by having the latest code, you can install the development version like so:
3133

3234
```bash
33-
sudo pip3 install bme680
35+
git clone https://github.com/pimoroni/bme680-python
36+
cd bme680-python
37+
./install.sh --unstable
3438
```
3539

36-
#### Library install for Python 2:
40+
In all cases you will have to enable the i2c bus:
3741

38-
```bash
39-
sudo pip2 install bme680
4042
```
41-
42-
### Development:
43-
44-
If you want to contribute, or like living on the edge of your seat by having the latest code, you should clone this repository, `cd` to the library directory, and run:
45-
46-
```bash
47-
sudo python3 setup.py install
43+
sudo raspi-config nonint do_i2c 0
4844
```
49-
(or `sudo python setup.py install` whichever your primary Python environment may be)
50-
51-
In all cases you will have to enable the i2c bus.
5245

5346
## Documentation & Support
5447

0 commit comments

Comments
 (0)