Skip to content

Commit 1cfd1ac

Browse files
committed
Prep for v1.0.0.
1 parent 29846a6 commit 1cfd1ac

File tree

3 files changed

+32
-6
lines changed

3 files changed

+32
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
1.0.0
2+
-----
3+
4+
* Repackage to hatch/pyproject.toml
5+
* Bump to i2cdevice 1.0.0
6+
17
0.0.1
28
-----
39

README.md

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,33 @@
77

88
# Installing
99

10-
Stable library from PyPi:
10+
If you've already set up a Python virtual environment, you can also install the stable library manually from PyPi:
1111

12-
* Just run `python3 -m pip install drv8830`
12+
```
13+
pip install drv8830
14+
```
15+
16+
Otherwise our install script will set one up for you.
17+
18+
Stable library from GitHub:
19+
20+
```
21+
git clone https://github.com/pimoroni/drv8830-python
22+
cd drv8830-python
23+
./install.sh
24+
```
1325

1426
Latest/development library from GitHub:
1527

16-
* `git clone https://github.com/pimoroni/drv8830-python`
17-
* `cd drv8830-python`
18-
* `./install.sh --unstable`
28+
```
29+
git clone https://github.com/pimoroni/drv8830-python
30+
cd drv8830-python
31+
./install.sh --unstable
32+
```
33+
34+
**Note** Libraries will be installed in the "pimoroni" virtual environment, you will need to activate it to run examples:
35+
36+
```
37+
source ~/.virtualenvs/pimoroni/bin/activate
38+
```
1939

drv8830/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from i2cdevice import BitField, Device, Register
22
from i2cdevice.adapter import Adapter, LookupAdapter
33

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

66
I2C_ADDR1 = 0x60 # Default, both select jumpers bridged (not cut)
77
I2C_ADDR2 = 0x61 # Cut A0

0 commit comments

Comments
 (0)