Skip to content

Commit 2bcbf3a

Browse files
committed
Prep for v0.0.0.
1 parent 2db7135 commit 2bcbf3a

File tree

2 files changed

+27
-32
lines changed

2 files changed

+27
-32
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
1.0.0
2+
-----
3+
4+
* Port to hatch/pyproject.toml
5+
* Require i2cdevice>=1.0.0
6+
* Fix typo in CLICK register "threshold" option
7+
18
0.0.5
29
-----
310

README.md

+20-32
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,35 @@
11
# lsm303d Accelerometer And Compass
22

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

8-
Suitable for measuring orientation and motion, the lsm303d has a 3-axis accelerometer and compass.
98

109
# Installing
1110

12-
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:
1312

14-
* Just run `python3 -m pip install lsm303d`
13+
```
14+
pip install lsm303d
15+
```
1516

16-
Latest/development library from GitHub:
17-
18-
* `git clone https://github.com/pimoroni/lsm303d-python`
19-
* `cd lsm303d-python`
20-
* `sudo ./install.sh --unstable`
21-
22-
23-
# Changelog
24-
0.0.5
25-
-----
26-
27-
* Require i2cdevice>=0.0.6
17+
Otherwise our install script will set one up for you.
2818

29-
0.0.4
30-
-----
19+
Stable library from GitHub:
3120

32-
* Port to i2cdevice>=0.0.6 set/get API
21+
```
22+
git clone https://github.com/pimoroni/lsm303d-python
23+
cd lsm303d-python
24+
./install.sh
25+
```
3326

34-
0.0.3
35-
-----
36-
37-
* BugFix: Fix for compatibility with i2cdevice>=0.0.6
38-
39-
0.0.2
40-
-----
41-
42-
* Bumped i2cdevice dependency to >=0.0.4
27+
Latest/development library from GitHub:
4328

44-
0.0.1
45-
-----
29+
```
30+
git clone https://github.com/pimoroni/lsm303d-python
31+
cd lsm303d-python
32+
./install.sh --unstable
33+
```
4634

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

0 commit comments

Comments
 (0)