]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - README.rst
Fixed PyPI link
[Adafruit_Blinka-hackapet.git] / README.rst
index 5e806ad9efe439d258776cb5b409d0b7d21d1346..24db28b576cbd5c7ff2b51e3f24ee6315f52a763 100755 (executable)
@@ -39,6 +39,31 @@ CircuitPython image, they have no value on a device already running CircuitPytho
 The test suites in the test/src folder under **testing.universal** are by design
 intended to run on *either* CircuitPython *or* Micropython+compatibility layer to prove conformance.
 
+Installing from PyPI
+=====================
+
+On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
+PyPI <https://pypi.org/project/Adafruit-Blinka/>`_. To install for current user:
+
+.. code-block:: shell
+
+    pip3 install Adafruit-Blinka
+
+To install system-wide (this may be required in some cases):
+
+.. code-block:: shell
+
+    sudo pip3 install Adafruit-Blinka
+
+To install in a virtual environment in your current project:
+
+.. code-block:: shell
+
+    mkdir project-name && cd project-name
+    python3 -m venv .env
+    source .env/bin/activate
+    pip3 install Adafruit-Blinka
+
 Usage Example
 =============
 
@@ -52,7 +77,6 @@ the following sequence runs through some basic testing of the digitalio compatib
 
 An example log from running the suites is `here <https://github.com/cefn/Adafruit_Micropython_Blinka/issues/2#issuecomment-366713394>`_ .
 
-
 Contributing
 ============