From c1877d894d252e02ec036b29264da9fb767a58bc Mon Sep 17 00:00:00 2001 From: Shaun Tarves Date: Thu, 22 Apr 2021 15:31:46 -0400 Subject: [PATCH] Fixed a few minor issues --- setup.py | 12 ++++++++---- wyze_sdk/api/devices/locks.py | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 2f5b139..6e7cbec 100644 --- a/setup.py +++ b/setup.py @@ -15,6 +15,7 @@ validate_dependencies = [ "pytest>=5.4,<6", + "flake8>=3,<4", ] needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv) @@ -30,25 +31,28 @@ author='Shaun Tarves', author_email='shaun@tarves.net', python_requires=">=3.9.0", + include_package_data=True, license="The Unlicense", classifiers=[ - 'Development Status :: 4 - Beta', - 'Environment :: Console', + "Development Status :: 5 - Production/Stable", + "Topic :: Communications :: Chat", "License :: Public Domain", + "License :: Free for non-commercial use", 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules', + "Topic :: Home Automation", 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.9' ], - keywords="", + keywords=["wyze", "wyze-labs", "wyze-sdk", "wyze-api", "wyzeapy", "wyze-apy", "smart home", "home automation"], packages=find_packages( exclude=[ "tests", "tests.*", ] ), - install_requires=[], + install_requires=["requests", "blackboxprotobuf"], setup_requires=pytest_runner, test_suite="tests", tests_require=validate_dependencies, diff --git a/wyze_sdk/api/devices/locks.py b/wyze_sdk/api/devices/locks.py index 52e6ee4..c997f8f 100644 --- a/wyze_sdk/api/devices/locks.py +++ b/wyze_sdk/api/devices/locks.py @@ -1,5 +1,5 @@ from abc import ABCMeta -from datetime import date, datetime, timedelta +from datetime import datetime from typing import Optional, Sequence from wyze_sdk.models.devices import DeviceModels, Lock, LockGateway