Skip to content

Commit b681256

Browse files
authored
Merge pull request #54 from adafruit/dherrada-patch-3
Added installing from pypi section
2 parents 44d1356 + 5060675 commit b681256

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.rst

+27
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,33 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
2626
This is easily achieved by downloading
2727
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.
2828

29+
Installing from PyPI
30+
====================
31+
32+
Warning: This will _not_ work with BLE on Linux
33+
34+
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
35+
PyPI <https://pypi.org/project/adafruit-circuitpython-ble/>`_. To install for current user:
36+
37+
.. code-block:: shell
38+
39+
pip3 install adafruit-circuitpython-ble
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-ble
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-ble
55+
2956
Usage Example
3057
=============
3158

0 commit comments

Comments
 (0)