forked from platypush/platypush
s/TheengsGateway/TheengsDecoder/g now that the pip package has been published.
This commit is contained in:
parent
431dedf3eb
commit
3743ee4f00
5 changed files with 6 additions and 7 deletions
|
@ -299,7 +299,7 @@ autodoc_mock_imports = [
|
|||
'async_lru',
|
||||
'bleak',
|
||||
'bluetooth_numbers',
|
||||
'TheengsGateway',
|
||||
'TheengsDecoder',
|
||||
]
|
||||
|
||||
sys.path.insert(0, os.path.abspath('../..'))
|
||||
|
|
|
@ -7,8 +7,7 @@ from bleak.backends.device import BLEDevice
|
|||
from bleak.backends.scanner import AdvertisementData
|
||||
from bluetooth_numbers import company
|
||||
|
||||
# pylint: disable=no-name-in-module
|
||||
from TheengsGateway._decoder import decodeBLE, getAttribute, getProperties
|
||||
from TheengsDecoder import decodeBLE, getAttribute, getProperties
|
||||
|
||||
from platypush.entities import Entity
|
||||
from platypush.entities.batteries import Battery
|
||||
|
|
|
@ -50,7 +50,7 @@ class BluetoothPlugin(RunnablePlugin, EntityManager):
|
|||
|
||||
* **bleak** (``pip install bleak``)
|
||||
* **bluetooth-numbers** (``pip install bluetooth-numbers``)
|
||||
* **TheengsGateway** (``pip install git+https://github.com/theengs/gateway``)
|
||||
* **TheengsDecoder** (``pip install TheengsDecoder``)
|
||||
* **pybluez** (``pip install git+https://github.com/pybluez/pybluez``)
|
||||
* **pyobex** (``pip install git+https://github.com/BlackLight/PyOBEX``)
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ manifest:
|
|||
pip:
|
||||
- bleak
|
||||
- bluetooth-numbers
|
||||
- TheengsDecoder
|
||||
- git+https://github.com/pybluez/pybluez
|
||||
- git+https://github.com/theengs/gateway
|
||||
- git+https://github.com/BlackLight/PyOBEX
|
||||
package: platypush.plugins.bluetooth
|
||||
type: plugin
|
||||
|
|
4
setup.py
4
setup.py
|
@ -17,7 +17,7 @@ def readfile(fname):
|
|||
def pkg_files(dir):
|
||||
paths = []
|
||||
# noinspection PyShadowingNames
|
||||
for (path, _, files) in os.walk(dir):
|
||||
for path, _, files in os.walk(dir):
|
||||
for file in files:
|
||||
paths.append(os.path.join('..', path, file))
|
||||
return paths
|
||||
|
@ -177,9 +177,9 @@ setup(
|
|||
'bluetooth': [
|
||||
'bleak',
|
||||
'bluetooth-numbers',
|
||||
'TheengsDecoder',
|
||||
'pybluez @ https://github.com/pybluez/pybluez/tarball/master',
|
||||
'PyOBEX @ https://github.com/BlackLight/PyOBEX/tarball/master',
|
||||
'TheengsGateway @ https://github.com/theengs/gateway/tarball/development',
|
||||
],
|
||||
# Support for TP-Link devices
|
||||
'tplink': ['pyHS100'],
|
||||
|
|
Loading…
Reference in a new issue