File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -36,26 +36,25 @@ jobs:
36
36
- name : Checkout
37
37
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
38
38
39
- - name : Set up Python ${{ matrix.python-version }}
40
- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
39
+ # https://docs.astral.sh/uv/guides/integration/github/
40
+ - name : Install uv and set the python version
41
+ uses : astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
41
42
with :
42
- python-version : ${{ matrix.python-version }}
43
+ python-version : ${{ matrix.python-version }}
44
+ activate-environment : true
43
45
44
46
- name : Install dependencies
45
47
run : |
46
- python -m pip install -U wheel pip
47
- python -m pip install -U pywin32
48
- python -m pip install -U pyinstaller packaging
48
+ uv pip install .[win_dist]
49
49
50
50
- name : Download Inno Setup installer
51
51
run : curl -L -o installer.exe http://files.jrsoftware.org/is/6/innosetup-6.3.3.exe
52
52
53
53
- name : Install Inno Setup
54
54
run : ./installer.exe /verysilent /allusers /dir=inst
55
55
56
- - name : Build ardupilot_methodic_configurator
56
+ - name : List installed software versions
57
57
run : |
58
- python -m pip install . --user
59
58
python -m pip list
60
59
61
60
- name : Prepare installer
Original file line number Diff line number Diff line change @@ -79,6 +79,14 @@ scripts = [
79
79
" bs4" ,
80
80
]
81
81
82
+ win_dist = [
83
+ " wheel==0.45.1" ,
84
+ " pip==25.1.1" ,
85
+ " pywin32==310" ,
86
+ " pyinstaller==6.13.0" ,
87
+ " packaging==25.0" ,
88
+ ]
89
+
82
90
[project .scripts ]
83
91
ardupilot_methodic_configurator = " ardupilot_methodic_configurator.__main__:main"
84
92
extract_param_defaults = " ardupilot_methodic_configurator.extract_param_defaults:main"
You can’t perform that action at this time.
0 commit comments