Skip to content

Commit 1f835c0

Browse files
committed
Prep for v1.0.0.
1 parent df65e3e commit 1f835c0

File tree

3 files changed

+27
-6
lines changed

3 files changed

+27
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
1.0.0
2+
-----
3+
4+
* Repackage to hatch/pyproject.toml
5+
16
0.0.2
27
-----
38

README.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,31 @@
55
[![PyPi Package](https://img.shields.io/pypi/v/icm20948.svg)](https://pypi.python.org/pypi/icm20948)
66
[![Python Versions](https://img.shields.io/pypi/pyversions/icm20948.svg)](https://pypi.python.org/pypi/icm20948)
77

8+
89
# Installing
910

10-
Stable library from PyPi:
11+
If you've already set up a Python virtual environment, you can also install the stable library manually from PyPi:
12+
13+
```
14+
pip install icm20948
15+
```
16+
17+
Otherwise our install script will set one up for you.
18+
19+
Stable library from GitHub:
1120

12-
* Just run `python3 -m pip install icm20948`
21+
```
22+
git clone https://github.com/pimoroni/icm20948-python
23+
cd icm20948-python
24+
./install.sh
25+
```
1326

1427
Latest/development library from GitHub:
1528

16-
* `git clone https://github.com/pimoroni/icm20948-python`
17-
* `cd icm20948-python`
18-
* `./install.sh --unstable`
29+
```
30+
git clone https://github.com/pimoroni/icm20948-python
31+
cd icm20948-python
32+
./install.sh --unstable
33+
```
1934

35+
**Note** Libraries will be installed in the "pimoroni" virtual environment, you will need to activate it to run examples:

icm20948/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import struct
22
import time
33

4-
__version__ = '0.0.2'
4+
__version__ = '1.0.0'
55

66
CHIP_ID = 0xEA
77
I2C_ADDR = 0x68

0 commit comments

Comments
 (0)