Skip to content

Commit 6dc7e10

Browse files
committed
Swap dependency to Adafruit Blinka _bleio
1 parent d5c5cdf commit 6dc7e10

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

README.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ This is easily achieved by downloading
2929
Installing from PyPI
3030
====================
3131

32-
Warning: This will **not** work with BLE on Linux
32+
Warning: Linux support is **very** limited. See `Adafruit Blinka _bleio
33+
<https://github.com/adafruit/Adafruit_Blinka_bleio>_` for details.
3334

3435
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
3536
PyPI <https://pypi.org/project/adafruit-circuitpython-ble/>`_. To install for current user:
@@ -52,7 +53,7 @@ To install in a virtual environment in your current project:
5253
python3 -m venv .env
5354
source .env/bin/activate
5455
pip3 install adafruit-circuitpython-ble
55-
56+
5657
Usage Example
5758
=============
5859

adafruit_ble/services/standard/hid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
"""
3131
import struct
3232

33+
import _bleio
3334
from micropython import const
3435

35-
import _bleio
3636
from adafruit_ble.characteristics import Attribute
3737
from adafruit_ble.characteristics import Characteristic
3838
from adafruit_ble.characteristics.int import Uint8Characteristic

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Adafruit-Blinka
1+
adafruit-blinka-bleio

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
author_email='circuitpython@adafruit.com',
3535

3636
install_requires=[
37-
'Adafruit-Blinka'
37+
'adafruit-blinka-bleio'
3838
],
3939

4040
# Choose your license

0 commit comments

Comments
 (0)