From a3eb2699c80b2c470292ff7a9c49399fdaad1b31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 27 Dec 2020 18:23:05 +0000 Subject: [PATCH] Add setup.py. --- LICENSES/MIT.txt | 19 +++++++++++++++++++ setup.py | 23 +++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 LICENSES/MIT.txt create mode 100755 setup.py diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..204b93d --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,19 @@ +MIT License Copyright (c) + +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 (including the next +paragraph) 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 new file mode 100755 index 0000000..ade8daf --- /dev/null +++ b/setup.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python3 + +# SPDX-FileCopyrightText: 2020 Andrius Štikonas +# SPDX-License-Identifier: MIT + +from setuptools import setup + +setup( + name = "neohubapi", + version = "0.1", + description = "Async library to communicate with Heatmiser NeoHub 2 API.", + url = "https://gitlab.com/neohubapi/neohubapi/", + author = "Andrius Štikonas", + author_email = "andrius@stikonas.eu", + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", + "Operating System :: OS Independent", + ], + packages = ['neohubapi'], + install_requires = ['neohubapi'], + keywords = ['neohub', 'heatmiser'], +)