From 989ba6ab1429d07b1b85f77d46f5ce7010c885dc Mon Sep 17 00:00:00 2001 From: Sven Sager Date: Wed, 17 Feb 2021 07:25:44 +0100 Subject: [PATCH] Remove included revpimodio2 static link and add it as requires --- revpicommander/locale/revpicommander_de.ts | 46 +++++++++++----------- setup.py | 16 ++++---- stdeb.cfg | 2 +- 3 files changed, 31 insertions(+), 33 deletions(-) diff --git a/revpicommander/locale/revpicommander_de.ts b/revpicommander/locale/revpicommander_de.ts index 1f5e522..2b8ad18 100644 --- a/revpicommander/locale/revpicommander_de.ts +++ b/revpicommander/locale/revpicommander_de.ts @@ -194,22 +194,22 @@ Ungesicherte Änderungen gehen verloren. RevPiCommander - + Select downloaded piCtory file... Heruntergeladene piCtory Datei auswählen... - + piCtory file (*.rsc);;All files (*.*) piCtory Datei (*.rsc);;Alle Dateien (*.*) - + Simulator started... Simulator gestartet... - + The simulator is running! You can work with this simulator if your call RevPiModIO with this additional parameters: @@ -226,100 +226,100 @@ configrsc={configrsc} Dies kann aus der Textbox oben kopiert werden. - + Can not start... Kann nicht gestartet werden... - + Can not start the simulator! Maybe the piCtory file is corrupt or you can not write to the location '{0}'. Kann Simulator nicht starten! Vielleicht ist die piCtory Datei defekt oder es gibt keine Schreibberechtigung in '{0}`. - + Warning Warnung - + This version of Logviewer ist not supported in version {0} of RevPiPyLoad on your RevPi! You need at least version 0.4.1. Diese Version vom Logbetrachter wird in RevPiPyLoad Version {0} nicht unterstützt! Es wird mindestens Version 0.4.1 benötigt. - + XML-RPC access mode in the RevPiPyLoad configuration is too small to access this dialog! XML-RPC Zugriffsberechtigung in der RevPiPyLoad Konfiguraiton ist zu klein für diese Einstellungen! - + Error Fehler - + The Version of RevPiPyLoad on your Revolution Pi ({0}) is to old. This Version of RevPiCommander require at least version 0.6.0 of RevPiPyLoad. Please update your Revolution Pi! Die Version von RevPiPyLoad ({0}) auf dem Revolution Pi ist zu alt. Diese Version vom RevPiCommander braucht mindestens Version 0.6.0. Bitte aktualisiere deinen Revolution Pi! - + Question Frage - + Are you sure to reset piControl? The pictory configuration will be reloaded. During that time the process image will be interrupted and could rise errors on running control programs! Soll piControl wirklich zurückgesetzt werden? Die piCtory Konfiguration wird neu geladen. Das Prozessabbild wird in dieser Zeit nicht verfügbar sein und es könnten Fehler in Steuerungsprogrammen ausgelöst werden! - + Success Erfolgreich - + piControl reset executed successfully piControl wurde erfolgreich zurückgesetzt - + piControl reset could not be executed successfully piControl konnte nicht zurückgesetzt werden - + Reset to piCtory defaults... Standardwerte von piCtory laden... - + Do you want to reset your process image to piCtory default values? You have to stop other RevPiModIO programs before doing that, because they could reset the outputs. Soll das virtuelle Prozessabbild auf die piCtory Standardwerte zurückgesetzt werden? Es sollten alle RevPiModIO Programme vorher beendet werden, da diese ihre IO Werte sofort wieder schreiben würden. - + The watch mode ist not supported in version {0} of RevPiPyLoad on your RevPi! You need at least version 0.5.3! Maybe the python3-revpimodio2 module is not installed on your RevPi at least version 2.0.0. Der SPS Betrachter ist in Version {0} von RevPiPyLoad auf dem Rev Pi nicht unterstützt! Es muss mindestens Version 0.5.3 installiert sein! Vielleicht fehlt auch das python3-revpimodio2 Modul, welches mindestens Version 2.0.0 haben muss. - + Can not load this function, because your ACL level is to low! You need at least level 1 to read or level 3 to write. Für diese Funktion ist das Berechtigungslevel zu gering! Es muss mindestens Level 1 zum Lesen oder Level 3 zu Schreiben sein. - + Can not load piCtory configuration. Did you create a hardware configuration? Please check this in piCtory! Kann piCtory Konfiguration nicht laden. Wurde eine Hardwarekonfiguration in piCtory erzeugt? - + Can not connect to RevPi XML-RPC Service! This could have the following reasons: The RevPi is not online, the XML-RPC service is not running / bind to localhost or the ACL permission is not set for your IP!!! @@ -1066,7 +1066,7 @@ Publish values with topic: [basetopic]/set/[outputname] Broker settings - Broker Einstellungen + Broker Einstellungen diff --git a/setup.py b/setup.py index 9f73c30..388119b 100644 --- a/setup.py +++ b/setup.py @@ -19,16 +19,15 @@ class MyEggInfo(distutils.command.install_egg_info.install_egg_info): setup( - version="0.9.0", + version="0.9.0a", python_requires="~=3.4", - requires=["PyQt5", "zeroconf"], + requires=["PyQt5", "revpimodio2", "zeroconf"], scripts=["data/revpicommander"], data_files=[ ("share/applications", ["data/revpicommander.desktop"]), ("share/icons/hicolor/32x32/apps", ["data/revpicommander.png"]), ("share/revpicommander", glob("revpicommander/*.py")), - ("share/revpicommander/revpimodio2", glob("lib/revpimodio2/revpimodio2/*.py")), ("share/revpicommander/ui", glob("include/ui/*.py")), ("share/revpicommander/locale/", glob("revpicommander/locale/*.qm")), ], @@ -42,12 +41,11 @@ setup( url="https://revpimodio.org/revpipyplc/", description="GUI for Revolution Pi to upload programs and do IO-Checks", long_description="" - "Dieses Programm startet beim Systemstart ein angegebenes Python PLC\n" - "Programm. Es überwacht das Programm und startet es im Fehlerfall neu.\n" - "Bei Abstruz kann das gesamte /dev/piControl0 auf 0x00 gesettz werden.\n" - "Außerdem stellt es einen XML-RPC Server bereit, über den die Software\n" - "auf den RevPi geladen werden kann. Das Prozessabbild kann über ein Tool\n" - "zur Laufzeit überwacht werden.", + "The RevPiCommander is a GUI tool to manage your revolution Pi over the\n" + "network. You can search for RevPis in your network, manage the settings\n" + "of RevPiPyLoad and do IO checks on your local machine. Developing your\n" + "control program is very easy with the developer, upload and debug it\n" + "over the network.", classifiers=[ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: POSIX :: Linux", diff --git a/stdeb.cfg b/stdeb.cfg index 68f943d..488d5a1 100644 --- a/stdeb.cfg +++ b/stdeb.cfg @@ -1,6 +1,6 @@ [DEFAULT] Debian-Version=1 -Depends3=python3-pyqt5, python3-zeroconf +Depends3=python3-pyqt5, python3-revpimodio2, python3-zeroconf Section=universe/x11 Suite=stable X-Python3-Version: >=3.4