Adjustments for creating installations on various operating systems

Add code signing options for macOS.
Adjust make.bat to create venv to use PyInstaller.
Preparing script for Linux to use in /usr/bin.
This commit is contained in:
2023-01-15 23:48:44 +01:00
parent 8e2b8311ef
commit 9202aedf7f
15 changed files with 4721 additions and 4670 deletions

View File

@@ -3,5 +3,4 @@
__author__ = "Sven Sager"
__copyright__ = "Copyright (C) 2023 Sven Sager"
__license__ = "GPLv3"
from .__main__ import __version__
__version__ = "0.9.10rc4"

View File

@@ -3,7 +3,6 @@
__author__ = "Sven Sager"
__copyright__ = "Copyright (C) 2023 Sven Sager"
__license__ = "GPLv3"
__version__ = "0.9.10rc4"
# If we are running from a wheel, add the wheel to sys.path
if __package__ == "":
@@ -20,6 +19,7 @@ if __name__ == "__main__":
if len(sys.argv) == 2 and "--version" in sys.argv:
# Catch --version, if this is the only argument (sys.argv[0] is always the script name)
from revpicommander import __version__
print(__version__)
sys.exit(0)

View File

@@ -21,7 +21,7 @@ from paramiko.ssh_exception import AuthenticationException
from . import proginit as pi
from .ssh_tunneling.server import SSHLocalTunnel
settings = QtCore.QSettings("revpimodio.org", "RevPiCommander")
settings = QtCore.QSettings("revpimodio.org", "revpicommander")
"""Global application settings."""
homedir = environ.get("HOME", "") or environ.get("APPDATA", "")

File diff suppressed because it is too large Load Diff