mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
8a131e1eeb
Instead of leveraging hound & travis, add an option for azure pipelines, which may replace the former in the future. This also streamlines the contributing guidelines by: * Adding pre-commit hooks to run isort, black, flake8, mypy * Adding lint environment to allow checks to be run `tox -e lint` This also contains a major cleanup to the SmartStrip handling which was due. After seeing #184 I thought I should push this in as it is for comments before the codebase diverges too much.
20 lines
595 B
Python
20 lines
595 B
Python
from setuptools import setup
|
|
|
|
with open("pyHS100/version.py") as f:
|
|
exec(f.read())
|
|
|
|
setup(
|
|
name="pyHS100",
|
|
version=__version__, # type: ignore # noqa: F821
|
|
description="Python interface for TPLink KASA-enabled smart home devices",
|
|
url="https://github.com/GadgetReactor/pyHS100",
|
|
author="Sean Seah (GadgetReactor)",
|
|
author_email="sean@gadgetreactor.com",
|
|
license="GPLv3",
|
|
packages=["pyHS100"],
|
|
install_requires=["click", "deprecation"],
|
|
python_requires=">=3.6",
|
|
entry_points={"console_scripts": ["pyhs100=pyHS100.cli:cli"]},
|
|
zip_safe=False,
|
|
)
|