Skip to content

Commit da444e1

Browse files
authored
Added PyPi installation instructions
1 parent 7522021 commit da444e1

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.rst

+25
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,31 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
3333
This is easily achieved by downloading
3434
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.
3535

36+
Installing from PyPI
37+
====================
38+
39+
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
40+
PyPI <https://pypi.org/project/adafruit-circuitpython-ht16k33/>`_. To install for current user:
41+
42+
.. code-block:: shell
43+
44+
pip3 install adafruit-circuitpython-ht16k33
45+
46+
To install system-wide (this may be required in some cases):
47+
48+
.. code-block:: shell
49+
50+
sudo pip3 install adafruit-circuitpython-ht16k33
51+
52+
To install in a virtual environment in your current project:
53+
54+
.. code-block:: shell
55+
56+
mkdir project-name && cd project-name
57+
python3 -m venv .env
58+
source .env/bin/activate
59+
pip3 install adafruit-circuitpython-ht16k33
60+
3661
Usage Example
3762
=============
3863

0 commit comments

Comments
 (0)