Skip to content

Commit c356f2d

Browse files
committed
More fiddling to make work on 3.9.
1 parent 61bbc45 commit c356f2d

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/ccpp.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ jobs:
6666
path: 'fluxengine-testdata'
6767
- name: brew
6868
run: |
69-
brew install sqlite pkg-config libusb protobuf wxwidgets fmt make coreutils dylibbundler libjpeg libmagic nlohmann-json cli11 boost glfw3 md4c ninja python freetype2 mbedtls
69+
brew install sqlite pkg-config libusb protobuf wxwidgets fmt make coreutils dylibbundler libjpeg libmagic nlohmann-json cli11 boost glfw3 md4c ninja python freetype2 mbedtls@3
70+
brew link mbedtls@3
7071
brew upgrade
7172
- name: make
7273
run: gmake -C fluxengine

arch/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from glob import glob
55
import sys
66

7-
archs = [f for f in glob("*", root_dir="arch") if isfile(f"arch/{f}/{f}.proto")]
7+
archs = {basename(dirname(f)) for f in glob("arch/*/*.proto")}
88

99
ps = []
1010
pls = []

dep/lexy/build.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
from build.c import cxxlibrary
2-
from glob import glob
2+
from build.utils import glob
33

44
cxxlibrary(
55
name="lexy",
66
srcs=[],
77
hdrs={
88
h: f"./include/{h}"
9-
for h in glob("**/*.hpp", root_dir="dep/lexy/include", recursive=True)
9+
for h in glob(
10+
["**/*.hpp"], dir="dep/lexy/include", relative_to="dep/lexy/include"
11+
)
1012
},
1113
)

extras/build.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
from build.ab import simplerule, simplerule
2-
from build.utils import objectify
2+
from build.utils import objectify, glob
33
from build.c import clibrary
44
from build.zip import zip
5-
from glob import glob
65
from os.path import *
76
import config
87

@@ -31,16 +30,14 @@
3130
label="ICONSET",
3231
)
3332

34-
template_files = [
35-
f
36-
for f in glob("**", recursive=True, root_dir="extras/FluxEngine.app.template")
37-
if isfile(join("extras/FluxEngine.app.template", f))
38-
]
3933
zip(
4034
name="fluxengine_template",
4135
items={
4236
join("FluxEngine.app", k): join("extras/FluxEngine.app.template", k)
43-
for k in template_files
37+
for k in glob(
38+
dir="extras/FluxEngine.app.template",
39+
relative_to="extras/FluxEngine.app.template",
40+
)
4441
},
4542
)
4643

0 commit comments

Comments
 (0)