-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build script and add some more details to README
- Loading branch information
1 parent
db6d52e
commit 67f3617
Showing
3 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
#!/bin/bash | ||
|
||
echo "Creating spec file..." | ||
pyi-makespec src/kmlog.py | ||
|
||
echo "Building executable..." | ||
pyinstaller -F --clean --onefile kmlog.spec | ||
pyinstaller --clean kmlog.spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021 - 2022, Alvin Kuruvilla <[email protected]>, Dr. Rajesh Kumar <[email protected]> | ||
# Copyright 2021 - 2023, Alvin Kuruvilla <[email protected]>, Dr. Rajesh Kumar <[email protected]> | ||
|
||
# Use of this source code is governed by an MIT-style | ||
# license that can be found in the LICENSE file or at | ||
|
@@ -7,9 +7,9 @@ | |
# This is a small debug utility to print the pid KMLogger is | ||
# running on to help with profiling | ||
import os | ||
from base.displayer import block_text | ||
from setproctitle import setproctitle, getproctitle | ||
import psutil | ||
from base.displayer import block_text | ||
|
||
|
||
def set_process_title(title: str): | ||
|