Skip to content

Commit 65f4e2e

Browse files
authored
Merge pull request #6 from brentru/pypi-setup
add install instructions to README, enable setup.py
2 parents c86c4d3 + f9ee629 commit 65f4e2e

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

README.rst

+24
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,30 @@ Adafruit_CircuitPython_AzureIoT
1616
Access to `Microsoft Azure IoT <https://azure.microsoft.com/en-us/overview/iot/>`_ from a CircuitPython device. This library can perform device
1717
messaging services (cloud-to-device, device-to-cloud), device services, and job services.
1818

19+
Installing from PyPI
20+
=====================
21+
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
22+
PyPI <https://pypi.org/project/adafruit-circuitpython-azureiot/>`_. To install for current user:
23+
24+
.. code-block:: shell
25+
26+
pip3 install adafruit-circuitpython-azureiot
27+
28+
To install system-wide (this may be required in some cases):
29+
30+
.. code-block:: shell
31+
32+
sudo pip3 install adafruit-circuitpython-azureiot
33+
34+
To install in a virtual environment in your current project:
35+
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-azureiot
42+
1943
Dependencies
2044
=============
2145
This driver depends on:
File renamed without changes.

0 commit comments

Comments
 (0)