Skip to content

Commit

Permalink
Merge pull request #6 from iCMDdev/pip
Browse files Browse the repository at this point in the history
PyPi update
  • Loading branch information
iCMDdev committed Aug 4, 2024
2 parents 606c8ef + 1cd8001 commit 68802b5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 17 deletions.
File renamed without changes.
File renamed without changes.
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,12 @@ Tested on Raspberry Pi OS Buster & Bullseye. It might work fine on other operati

## Installation guide

To install CharPi, you'll first have to download this repository's code. You can use git to download it directly on the RPi.
To install CharPi, you can use PyPi:

```
git clone https://github.com/iCMDgithub/CharPi.git
pip install CharPi
```

After downloading, open the Terminal and navigate inside the package using:
```
cd CharPi/code
```
Then, you can install the library using the following command (requires root privileges) :
```
sudo python3 setup.py install
```
You succesfully installed the library. Now you can start coding, or try out some examples. Good luck on your projects!

## Usage

Expand Down
3 changes: 0 additions & 3 deletions code/code.md

This file was deleted.

2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
8 changes: 5 additions & 3 deletions code/setup.py → setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
from setuptools import setup

__name__ = "CharPi"
__version__ = "0.2.5"
__version__ = "0.2.6"
__description__ = "Alpha version. This module is a driver for HD4480 and HD4480-like LCDs."
__packages__ = ["CharPi"]
__author__ = "github.com/iCMDgithub"
__url__ = "https://www.github.com/iCMDgithub/CharPi"
__author__ = "github.com/iCMDdev"
__url__ = "https://www.github.com/iCMDdev/CharPi"
__download_url = 'https://github.com/iCMDdev/CharPi/archive/refs/tags/v0.2.6.tar.gz'
__keywords__ = ["HD44780", "I2C", "LCD", "display", "character"]
__requires__ = ["RPi.GPIO", "smbus"]

__classifiers__ = [
"Development Status :: 3 - Alpha",
'Intended Audience :: Developers',
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Topic :: System :: Hardware"
Expand Down

0 comments on commit 68802b5

Please sign in to comment.