Skip to content

Commit 53c85f8

Browse files
authored
Added pypi installation instructions
1 parent 8b0cb14 commit 53c85f8

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
@@ -28,6 +28,26 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
2828
This is easily achieved by downloading
2929
`the Adafruit library and driver bundle <https://circuitpython.org/libraries>`_.
3030

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

0 commit comments

Comments
 (0)