From a0ac4cf2a89c9c7e6e83b796dda5899b05860a75 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 6 Jul 2022 19:29:37 +0200 Subject: [PATCH] Updated version --- main.py | 6 +++--- setup.py | 2 +- sideband/_version.py | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 sideband/_version.py diff --git a/main.py b/main.py index db14f5b..4d6978e 100644 --- a/main.py +++ b/main.py @@ -23,8 +23,8 @@ from kivy.metrics import dp from kivymd.uix.button import MDFlatButton from kivymd.uix.dialog import MDDialog -__version__ = "0.1.5" -__variant__ = "alpha" +__version__ = "0.1.6" +__variant__ = "beta" if RNS.vendor.platformutils.get_platform() == "android": from jnius import autoclass @@ -510,7 +510,7 @@ class SidebandApp(MDApp): import webbrowser webbrowser.open("https://unsigned.io/sideband") - info = "This is Sideband v"+__version__+" "+__variant__+".\n\nHumbly build using the following open components:\n\n - [b]Reticulum[/b] (MIT License)\n - [b]LXMF[/b] (MIT License)\n - [b]KivyMD[/b] (MIT License)\n - [b]Kivy[/b] (MIT License)\n - [b]Python[/b] (PSF License)"+"\n\nGo to [u][ref=link]https://unsigned.io/sideband[/ref][/u] to support the project.\n\nThe Sideband app is Copyright (c) 2022 Mark Qvist / unsigned.io\n\nPermission is granted to freely share and distribute binary copies of Sideband v"+__version__+" "+__variant__+", so long as no payment or compensation is charged for said distribution or sharing.\n\nIf you were charged or paid anything for this copy of Sideband, please report it to [b]license@unsigned.io[/b].\n\nTHIS IS EXPERIMENTAL SOFTWARE - USE AT YOUR OWN RISK AND RESPONSIBILITY" + info = "This is Sideband v"+__version__+" "+__variant__+", running on RNS v"+RNS.__version__+"\n\nHumbly build using the following open components:\n\n - [b]Reticulum[/b] (MIT License)\n - [b]LXMF[/b] (MIT License)\n - [b]KivyMD[/b] (MIT License)\n - [b]Kivy[/b] (MIT License)\n - [b]Python[/b] (PSF License)"+"\n\nGo to [u][ref=link]https://unsigned.io/sideband[/ref][/u] to support the project.\n\nThe Sideband app is Copyright (c) 2022 Mark Qvist / unsigned.io\n\nPermission is granted to freely share and distribute binary copies of Sideband v"+__version__+" "+__variant__+", so long as no payment or compensation is charged for said distribution or sharing.\n\nIf you were charged or paid anything for this copy of Sideband, please report it to [b]license@unsigned.io[/b].\n\nTHIS IS EXPERIMENTAL SOFTWARE - USE AT YOUR OWN RISK AND RESPONSIBILITY" self.root.ids.information_info.text = info self.root.ids.information_info.bind(on_ref_press=link_exec) self.root.ids.screen_manager.transition.direction = "left" diff --git a/setup.py b/setup.py index d9ff199..695d583 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ import setuptools -exec(open("sideband/_version.py", "r").read()) +from main.py import __version__ with open("README.md", "r") as fh: long_description = fh.read() diff --git a/sideband/_version.py b/sideband/_version.py deleted file mode 100644 index 950eb5d..0000000 --- a/sideband/_version.py +++ /dev/null @@ -1,2 +0,0 @@ -__version__ = "0.1.5" -__variant__ = "alpha"