From 6b5b54afe5cdc5887a1e7b036a90a296aea3b9a6 Mon Sep 17 00:00:00 2001 From: lucasheld Date: Tue, 2 Aug 2022 21:33:03 +0200 Subject: [PATCH] add license --- LICENSE | 21 +++++++++++++++++++++ setup.py | 6 +++--- uptime_kuma_api/__version__.py | 2 +- 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3069230 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Lucas Held + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/setup.py b/setup.py index f58ca8c..16bc0f1 100644 --- a/setup.py +++ b/setup.py @@ -22,15 +22,15 @@ setup( url="https://github.com/lucasheld/uptime-kuma-api", author=info["__author__"], author_email="lucasheld@hotmail.de", - # license=info["__license__"], + license=info["__license__"], packages=["uptime_kuma_api"], python_requires=">=3.6, <4", - install_requires=["python-socketio", "requests", "websocket-client"], + install_requires=["python-socketio[client]>=5.0.0"], classifiers=[ "Development Status :: 1 - Planning", "Environment :: Web Environment", "Intended Audience :: Developers", - # "License :: OSI Approved :: ", + "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", diff --git a/uptime_kuma_api/__version__.py b/uptime_kuma_api/__version__.py index 47f8a24..29d4c15 100644 --- a/uptime_kuma_api/__version__.py +++ b/uptime_kuma_api/__version__.py @@ -1,5 +1,5 @@ __title__ = "uptime_kuma_api" __version__ = "0.0.6" __author__ = "Lucas Held" -# __license__ = "" +__license__ = "MIT" __copyright__ = "Copyright 2022 Lucas Held"