diff options
| author | Yuval Adam <_@yuv.al> | 2021-05-18 20:03:06 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-18 20:03:06 +0300 |
| commit | bcf6a5f0df5154429870015745e22ad12c1b2cbd (patch) | |
| tree | a7aa7b1678e6e79abd91c77dd688abbb7ddcd6d2 /setup.py | |
| parent | ddaf888e477253b5dfcfa6016b44e4ab5ec51b47 (diff) | |
Add MQTT support and bump to v1.3.0 (#12)
* Initial MQTT branch
* Cont
* Added info to README.
Added MQTT filter.
* Added MQTT filter.
* Fixed using localized string for filter
* Added support to filter by area name
Fixed compare case insensitive
Updated README
* Revert change
* Fix error on missing mqtt init
* Reorder params
* Cleanup MQTT implementation
* Update MQTT README
* Bump to v1.3.0
Co-authored-by: Adi Miller <adi@gomiller.com>
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh: setuptools.setup( name="alarmpy", - version="1.2.0", + version="1.3.0", author="Yuval Adam", author_email="_@yuv.al", description="Pikud Ha'oref Alarm Tracking", @@ -27,5 +27,13 @@ setuptools.setup( package_data={"alarmpy": ["data/*.json"]}, python_requires=">=3.6", install_requires=["requests", "click"], - entry_points={"console_scripts": ["alarmpy = alarmpy:cli"]}, + extras_require={ + "mqttnotify": ["paho-mqtt"], + }, + entry_points={ + "console_scripts": [ + "alarmpy = alarmpy:cli", + "alarmpynotify = alarmpy:cli [mqttnotify]", + ] + }, ) |
