Skip to content

Commit

Permalink
Fix pkg-info, add LICENSE (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir authored Jul 26, 2023
1 parent c500226 commit 97e78e4
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2015-2023 Wiren Board

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.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
python-mqttrpc (1.2.2) stable; urgency=medium

* Fix PKG-INFO

-- Nikolay Korotkiy <nikolay.korotkiy@wirenboard.com> Mon, 24 Jul 2023 12:10:00 +0400

python-mqttrpc (1.2.1) stable; urgency=medium

* add Homepage to debian/control (no functional changes)
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Homepage: https://github.com/wirenboard/python-mqtt-rpc
Package: python3-mqttrpc
Architecture: all
XB-Python-Version: ${python3:Version}
Depends: python3, ${misc:Depends}, ${shlibs:Depends}, python3-json-rpc, python3-paho-mqtt, python3-wb-common (>= 2.1.0), python3-mqttrpc
Depends: python3, ${misc:Depends}, ${shlibs:Depends}, python3-json-rpc, python3-paho-mqtt, python3-wb-common (>= 2.1.0)
Description: Reference MQTT-RPC implementation
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
from setuptools import find_packages, setup


def get_version():
with open("debian/changelog", "r", encoding="utf-8") as f:
return f.readline().split()[1][1:-1]


def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
Expand All @@ -13,11 +18,13 @@ def read(fname):

setup(
name="mqttrpc",
version="1.0",
version=get_version(),
packages=find_packages(),
# metadata for upload to PyPI
author="Evgeny Boger",
author_email="boger@contactless.ru",
maintainer="Wiren Board Team",
maintainer_email="info@wirenboard.com",
url="https://github.com/wirenboard/python-mqtt-rpc",
description="WB MQTT-RPC reference implementation",
long_description=read("README.md"),
Expand Down

0 comments on commit 97e78e4

Please sign in to comment.