Skip to content

Commit 9715821

Browse files
authored
Added PyPi installation instructions
1 parent b726925 commit 9715821

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,31 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
3838
This is easily achieved by downloading
3939
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.
4040

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

0 commit comments

Comments
 (0)