From 433e05190968d94b84de07a2b057e3898ec67dd1 Mon Sep 17 00:00:00 2001 From: dherrada <33632497+dherrada@users.noreply.github.com> Date: Fri, 18 Oct 2019 10:43:58 -0400 Subject: [PATCH 1/2] Added PyPi installation instructions --- README.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.rst b/README.rst index 8378474..b66b369 100644 --- a/README.rst +++ b/README.rst @@ -25,6 +25,31 @@ Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading `the Adafruit library and driver bundle `_. +Installing from PyPI +==================== + +On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from +PyPI `_. To install for current user: + +.. code-block:: shell + + pip3 install adafruit-circuitpython-am2320 + +To install system-wide (this may be required in some cases): + +.. code-block:: shell + + sudo pip3 install adafruit-circuitpython-am2320 + +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-circuitpython-am2320 + Usage Example ============= From 8df86934946ad9da5245c4efac5d5cd980ebfced Mon Sep 17 00:00:00 2001 From: dherrada <33632497+dherrada@users.noreply.github.com> Date: Fri, 27 Dec 2019 22:30:41 -0500 Subject: [PATCH 2/2] Fixed merge conflicts --- README.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.rst b/README.rst index 26979cd..3c0e34c 100644 --- a/README.rst +++ b/README.rst @@ -26,12 +26,8 @@ This is easily achieved by downloading `the Adafruit library and driver bundle `_. Installing from PyPI -<<<<<<< HEAD --------------------- -======= ==================== ->>>>>>> 433e05190968d94b84de07a2b057e3898ec67dd1 On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from PyPI `_. To install for current user: