File tree Expand file tree Collapse file tree 1 file changed +20
-12
lines changed Expand file tree Collapse file tree 1 file changed +20
-12
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,26 @@ changes such as mode. For I2C, it manages the device address.
2020
2121.. _bus_device_installation :
2222
23- Installation
24- -------------
25-
26- This library is **NOT ** built into CircuitPython to make it easy to update. To
27- install it either follow the directions below or `install the library
28- bundle <bundle_installation> `_.
29-
30- To install:
31-
32- #. Download and unzip the `latest release zip <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice/releases >`_.
33- #. Copy the unzipped ``adafruit_bus_device `` to the ``lib `` directory on the ``CIRCUITPY `` drive.
34-
23+ On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
24+ PyPI <https://pypi.org/project/adafruit-circuitpython-busdevice/> `_. To install for current user:
25+
26+ .. code-block :: shell
27+
28+ pip3 install adafruit-circuitpython-busdevice
29+
30+ To install system-wide (this may be required in some cases):
31+ .. code-block :: shell
32+
33+ sudo pip3 install adafruit-circuitpython-busdevice
34+
35+ To install in a virtual environment in your current project:
36+ .. code-block :: shell
37+
38+ mkdir project-name && cd project-name
39+ python3 -m venv .env
40+ source .env/bin/activate
41+ pip3 install adafruit-circuitpython-busdevice
42+
3543 Usage Example
3644=============
3745
You can’t perform that action at this time.
0 commit comments