Skip to content
This repository was archived by the owner on Dec 31, 2025. It is now read-only.

Commit 876e6a0

Browse files
committed
Switched to Py 3.12 for MSI and ZIP package
Added terminal less runner for windows to wheel
1 parent 43f7f7e commit 876e6a0

5 files changed

Lines changed: 96 additions & 23 deletions

File tree

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,11 @@ Features
5454

5555
Installation
5656
------------
57-
The installation requires a python installation (>= 3.10).
57+
The installation requires a python installation (>= 3.10).
58+
5859
On Linux you may have to install libxcb-cursor0.
60+
61+
These steps assume you are using your system python installation. Though I recommend using virtual envirnoments.
5962

6063
# python3 -m pip install DragonLog
6164

@@ -77,7 +80,12 @@ Or if your python scripts folder is on PATH you can start DragonLog with
7780
# DragonLog
7881

7982

80-
For windows there is also an installable MSI and ZIP package available for convenience.
83+
For detailed Windows installation steps see [README_WININST](https://github.com/gitandy/DragonLog/blob/master/README_WININST.md).
84+
This is the recommended way to get the full functionality of DragonLog.
85+
86+
For Windows there is also an installable MSI and ZIP package available for convenience.
87+
Unfortunatley the QSL-QR-Code reader is not available with these Windows prebuild versions.
88+
Anyway the Python version is currently stuck at 3.12 as the MSI packaging will not be ported to higher versions.
8189

8290

8391
Starting and first start
@@ -245,7 +253,7 @@ DragonLog is tested against version 4.5.5 and 4.6.2.
245253

246254
After selecting your radio and interface settings you can press the start button to start the communication.
247255

248-
Currently, DragonLog can only configure radios with serial interface.
256+
Currently, DragonLog can only configure radios with serial interface (including USB serial).
249257

250258
### On Windows
251259
Unpack or install your hamlib release.

README_WININST.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
Installation on Windows
2+
=======================
3+
4+
The installation will cover following steps
5+
6+
1. Install Python
7+
2. Create a dedicated virtual environment for DragonLog
8+
3. Install DragonLog package
9+
4. Run DragonLog
10+
5. Update DragonLog
11+
12+
13+
Install Python
14+
--------------
15+
16+
The installation requires a python installation (>= 3.10).
17+
I will recommend downloading the current python 3.13 release from [python.org](https://www.python.org/downloads/).
18+
19+
20+
Create vitual environment
21+
-------------------------
22+
23+
Create a folder where your DragonLog should go to (e.g. folder under your user home: `C:\Users\username\DragonLog`).
24+
Open up a terminal window and change to your user home folder
25+
26+
C:\Users\username> py -m venv DragonLog
27+
28+
You should end up with a `DragonLog` folder inside your user home folder
29+
30+
It is possible to install DragonLog without a virtual environment.
31+
But virtual environments will prevent collisons between other installations you may have.
32+
33+
34+
Install DragonLog
35+
-----------------
36+
37+
If your virtual envirnoment is initialised run
38+
39+
C:\Users\username> DragonLog\Scripts\pip.exe install DragonLog[xlformat,qslqrcode]
40+
41+
This will install DragonLog and all of its dependencies including the extras.
42+
43+
44+
Run DragonLog
45+
-------------
46+
47+
Now you can either run DragonLog via terminal
48+
49+
C:\Users\username> DragonLog\Scripts\DragonLog.exe
50+
51+
or you just doubleclick the executable. In this case you may not want a terminal window and
52+
use `C:\Users\username\DragonLog\Scripts\DragonLogW.exe` instead.
53+
54+
55+
Updateting DragonLog
56+
--------------------
57+
58+
To update DragonLog open a terminal and change to your folder
59+
60+
C:\Users\username> DragonLog\Scripts\pip.exe install DragonLog -U

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ qslqrcode=["opencv-python-headless", "pyzbar"]
3131
[project.scripts]
3232
"DragonLog" = "dragonlog.DragonLog:main"
3333

34+
[project.gui-scripts]
35+
"DragonLogW" = "dragonlog.DragonLog:main"
36+
3437
[tool.setuptools]
3538
packages = ["dragonlog", "dragonlog.contest"]
3639

requirements.txt

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
PyQt6-qt6~=6.4.3
2-
PyQt6~=6.4.2
1+
PyQt6~=6.9
32
qt6-tools
4-
openpyxl~=3.1.2
5-
maidenhead~=1.7.0
3+
openpyxl~=3.1
4+
maidenhead~=1.8
65
PyADIF-File~=1.3
7-
requests~=2.32.3
8-
xmltodict~=0.13.0
9-
keyring~=24.3.0
10-
matplotlib~=3.10.3
11-
numpy~=2.2.6
6+
requests~=2.32
7+
xmltodict~=0.14
8+
keyring~=25.6
9+
matplotlib~=3.10
10+
numpy~=2.2
1211
HamCC~=1.0
13-
pymsilib; sys_platform == 'win32'
12+
packaging
13+
pywin32; sys_platform == 'win32'
1414
cx-freeze; sys_platform == 'win32'
15-
PyQt6-sip~=13.5.2
1615
opencv-python-headless~=4.12
1716
pyzbar~=0.1

setup_msi.py

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
from cx_Freeze import setup, Executable
2-
from dragonlog.DragonLog import __prog_name__, __prog_desc__, __author_name__, __copyright__
32

3+
from dragonlog.DragonLog import __prog_name__, __prog_desc__, __author_name__, __copyright__
44

55
base = 'Win32GUI'
66

77
build_exe_options = {
88
'packages': ['dragonlog'],
9-
'excludes': ['tkinter',
10-
'unittest',
11-
],
12-
'zip_include_packages': ["encodings", "PyQt6"]
9+
'excludes': [
10+
'tkinter',
11+
'unittest',
12+
'cv2',
13+
'pyzbar',
14+
],
15+
'zip_include_packages': ['encodings']
1316
}
1417

1518
msi_data = {
@@ -56,7 +59,7 @@
5659
]
5760

5861
setup(options={
59-
'build_exe': build_exe_options,
60-
'bdist_msi': bdist_msi_options,
61-
},
62-
executables=executables)
62+
'build_exe': build_exe_options,
63+
'bdist_msi': bdist_msi_options,
64+
},
65+
executables=executables)

0 commit comments

Comments
 (0)