Skip to content

Commit

Permalink
Release v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennolium committed Oct 9, 2023
1 parent 14b1502 commit 441f3b4
Show file tree
Hide file tree
Showing 20 changed files with 4,774 additions and 11,741 deletions.
2 changes: 2 additions & 0 deletions ACKNOWLEDGMENTS
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ________________________________________________________________________
Copyright (c) 2005-2023, PyInstaller Development Team
Copyright (c) 2005-2009, Giovanni Bajo
Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc.
[email protected]

PyInstaller is licensed under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Expand Down Expand Up @@ -150,6 +151,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
pyoslog:
________________________________________________________________________
Copyright (c) 2022, Simon Robinson
[email protected]

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ revive an abandoned project and to support others in learning and
comprehending the fundamentals of Python, Qt and macOS, and to develop
their own projects.

Please refer to [ACKNOWLEDGMENTS](https://github.com/Lennolium/swiftGuard/blob/main/ACKNOWLEDGMENTS).
Many more credits are in the [acknowledgments](https://github.com/Lennolium/swiftGuard/blob/main/ACKNOWLEDGMENTS) file.

 

Expand Down
16 changes: 16 additions & 0 deletions build-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,22 @@ if [ ! -d "src/swiftGuard" ]; then
exit 1
fi

# Check if PySide6 is installed and install it if not.
_info "Updating Qt resource file ..."
if test ! "$(which pyside6-rcc)"; then
_info "PySide6 is not installed! Installing with Homebrew ..."
brew install pyside
fi

# Updating the Qt resource file (.qrc -> .py).
if pyside6-rcc src/swiftguard/resources/resources.qrc -o src/swiftguard/resources/resources_rc.py
then
_ok "Resource file successfully compiled."
else
_error "Could not update resource file!"
_error "Using old pre-compiled resource file."
fi

# Creating dist folder.
mkdir -p dist/

Expand Down
15 changes: 15 additions & 0 deletions pyinstaller.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@ app_entry_point = 'src/swiftguard/app.py'

# List all extra files and directories here.
added_files = [
('src/swiftguard/install', 'install'),
('src/swiftguard/resources/ACKNOWLEDGMENTS', 'resources/'),
('src/swiftguard/resources/[email protected]', 'resources/'),
('src/swiftguard/resources/resources_rc.py', 'resources/'),
('src/swiftguard/utils', 'utils'),
('src/swiftguard/__main__.py', '.'),
('src/swiftguard/cli.py', '.'),
('src/swiftguard/const.py', '.'),
('README.md', '.'),
('LICENSE', '.'),
('ACKNOWLEDGMENTS', '.'),
]

added_files_old = [
('src/swiftguard/install', 'install'),
('src/swiftguard/resources', 'resources'),
('src/swiftguard/utils', 'utils'),
Expand All @@ -31,6 +45,7 @@ added_files = [
('src/swiftguard/const.py', '.'),
('README.md', '.'),
('LICENSE', '.'),
('ACKNOWLEDGMENTS', '.'),
]

# List all imports here (built-in and external). opt: ('__builtin__',).
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PySide6==6.5.2
PySide6-Addons==6.5.2
PySide6-Essentials==6.5.2
PySide6==6.5.3
PySide6-Addons==6.5.3
PySide6-Essentials==6.5.3
darkdetect==0.8.0
requests==2.31.0
pyoslog==1.1.0
Expand Down
2 changes: 1 addition & 1 deletion src/swiftguard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__license__ = "GNU GPLv3"
__version__ = "0.0.2"
__build__ = "2023.2"
__date__ = "2023-09-28"
__date__ = "2023-10-09"
__status__ = "Prototype"

# Imports.
2 changes: 1 addition & 1 deletion src/swiftguard/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
__license__ = "GNU GPLv3"
__version__ = "0.0.2"
__build__ = "2023.2"
__date__ = "2023-09-28"
__date__ = "2023-10-09"
__status__ = "Prototype"

# Imports.
Expand Down
Loading

0 comments on commit 441f3b4

Please sign in to comment.