mirror of
https://github.com/undera/pylgbst.git
synced 2020-11-18 19:37:26 -08:00
* Use setuptools to allow the extras_require to work in python3.6 This also declares some hidden dependencies for the underlying connection protocols, but note that they are normally reliant on system-packaged versions, which is a bit less than optimal. * In message, on assert of incoming type, note failing type * In utilities, guard against truncated input. * In demo allow for specifying different connections and demos on command line Also addresses a crash in led demo where parameters x and y were not provided to an empty lamba that was passed in. * Remove commentted line, apply black formatting * Raise TypeError when an incorrectly-typed message is received * Apply black automatic formatting to the utilities module
19 lines
520 B
Python
19 lines
520 B
Python
from setuptools import setup
|
|
|
|
setup(
|
|
name="pylgbst",
|
|
description="Python library to interact with LEGO Move Hub (from Lego BOOST set)",
|
|
version="1.1.1",
|
|
author="Andrey Pokhilko",
|
|
author_email="apc4@ya.ru",
|
|
packages=["pylgbst", "pylgbst.comms"],
|
|
requires=[],
|
|
extras_require={
|
|
# Note that dbus and gi are normally system packages
|
|
"gatt": ["gatt", "dbus", "gi"],
|
|
"gattlib": ["gattlib"],
|
|
"pygatt": ["pygatt", "pexpect"],
|
|
"bluepy": ["bluepy"],
|
|
},
|
|
)
|