Skip to content

Commit 068a99b

Browse files
authored
Added pypi installation instructions
1 parent 6c436dc commit 068a99b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.rst

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

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

0 commit comments

Comments
 (0)