Skip to content

Commit

Permalink
Prep for v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Jan 31, 2022
1 parent 27a628e commit 95bbc26
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 76 deletions.
38 changes: 2 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,53 +25,19 @@ In the new terminal window type the command exactly as it appears below (check f
curl https://get.pimoroni.com/ledshim | bash
```

Alternatively, on Raspbian, you can download the `pimoroni-dashboard` and install your product by browsing to the relevant entry:

```bash
sudo apt-get install pimoroni
```
(you will find the Dashboard under 'Accessories' too, in the Pi menu - or just run `pimoroni-dashboard` at the command line)

If you choose to download examples you'll find them in `/home/pi/Pimoroni/ledshim/`.

### Manual install:

#### Library install for Python 3:

on Raspbian:

```bash
sudo apt-get install python3-ledshim
```

other environments:

```bash
sudo pip3 install ledshim
```

#### Library install for Python 2:

on Raspbian:

```bash
sudo apt-get install python-ledshim
```

other environments:

```bash
sudo pip2 install ledshim
python3 -m pip install ledshim
```

### Development:

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:

```bash
sudo python3 setup.py install
python3 setup.py install
```
(or `sudo python setup.py install` whichever your primary Python environment may be)

In all cases you will have to enable the i2c bus.

Expand Down
7 changes: 7 additions & 0 deletions library/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
0.0.2
-----

* Add `set_multiple_pixels`
* Updated packaging
* Linting & minor improvements to docstrings

0.0.1
-----

Expand Down
45 changes: 9 additions & 36 deletions library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,53 +25,19 @@ In the new terminal window type the command exactly as it appears below (check f
curl https://get.pimoroni.com/ledshim | bash
```

Alternatively, on Raspbian, you can download the `pimoroni-dashboard` and install your product by browsing to the relevant entry:

```bash
sudo apt-get install pimoroni
```
(you will find the Dashboard under 'Accessories' too, in the Pi menu - or just run `pimoroni-dashboard` at the command line)

If you choose to download examples you'll find them in `/home/pi/Pimoroni/ledshim/`.

### Manual install:

#### Library install for Python 3:

on Raspbian:

```bash
sudo apt-get install python3-ledshim
```

other environments:

```bash
sudo pip3 install ledshim
```

#### Library install for Python 2:

on Raspbian:

```bash
sudo apt-get install python-ledshim
```

other environments:

```bash
sudo pip2 install ledshim
python3 -m pip install ledshim
```

### Development:

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:

```bash
sudo python3 setup.py install
python3 setup.py install
```
(or `sudo python setup.py install` whichever your primary Python environment may be)

In all cases you will have to enable the i2c bus.

Expand All @@ -83,6 +49,13 @@ In all cases you will have to enable the i2c bus.
* Get help - http://forums.pimoroni.com/c/support

# Changelog
0.0.2
-----

* Add `set_multiple_pixels`
* Updated packaging
* Linting & minor improvements to docstrings

0.0.1
-----

Expand Down
2 changes: 1 addition & 1 deletion library/ledshim/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""LED SHIM 28-pixel RGB LED display."""
from . import is31fl3731

__version__ = '0.0.1'
__version__ = '0.0.2'

display = is31fl3731.LEDSHIM(None, address=0x75, gamma_table=is31fl3731.LED_GAMMA)

Expand Down
4 changes: 2 additions & 2 deletions library/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
[metadata]
name = ledshim
version = 0.0.1
version = 0.0.2
author = Philip Howard
author_email = [email protected]
description = LED SHIM Driver
Expand Down Expand Up @@ -29,7 +29,7 @@ classifiers =
[options]
python_requires = >= 2.7
packages = ledshim
install_requires =
install_requires =

[flake8]
exclude =
Expand Down
1 change: 0 additions & 1 deletion library/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ deps =
check-manifest
flake8
twine

0 comments on commit 95bbc26

Please sign in to comment.