You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29,6 +29,30 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
29
29
This is easily achieved by downloading
30
30
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.
31
31
32
+
Installing from PyPI
33
+
--------------------
34
+
35
+
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from PyPI <https://pypi.org/project/adafruit-circuitpython-apds9960/>`_. To install for current user:
36
+
37
+
.. code-block:: shell
38
+
39
+
pip3 install adafruit-circuitpython-apds9960
40
+
41
+
To install system-wide (this may be required in some cases):
42
+
43
+
.. code-block:: shell
44
+
45
+
sudo pip3 install adafruit-circuitpython-apds9960
46
+
47
+
To install in a virtual environment in your current project:
48
+
49
+
.. code-block:: shell
50
+
51
+
mkdir project-name &&cd project-name
52
+
python3 -m venv .env
53
+
source .env/bin/activate
54
+
pip3 install adafruit-circuitpython-apds9960
55
+
32
56
Usage Example
33
57
=============
34
58
@@ -168,4 +192,4 @@ Now, once you have the virtual environment activated:
168
192
169
193
This will output the documentation to ``docs/_build/html``. Open the index.html in your browser to
170
194
view them. It will also (due to -W) error out on any warning like Travis will. This is a good way to
0 commit comments