Skip to content

Commit 0658d8d

Browse files
authored
Merge pull request #70 from tannewt/swap_blinka_dep
Swap dependency to Adafruit Blinka _bleio
2 parents d5c5cdf + 21a9c21 commit 0658d8d

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Adafruit-Blinka
1+
adafruit-blinka
2+
adafruit-blinka-bleio

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
author_email='[email protected]',
3535

3636
install_requires=[
37-
'Adafruit-Blinka'
37+
'adafruit-blinka',
38+
'adafruit-blinka-bleio'
3839
],
3940

4041
# Choose your license

0 commit comments

Comments
 (0)