File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 12
12
from pathlib import Path
13
13
from urllib .request import urlretrieve as download
14
14
15
- PANGO_VERSION = "1.50.5 "
15
+ PANGO_VERSION = "1.54.0 "
16
16
17
17
18
18
def get_platform ():
19
19
if (struct .calcsize ("P" ) * 8 ) == 32 :
20
- return "32 "
20
+ return "x86 "
21
21
else :
22
- return "64 "
22
+ return "x64 "
23
23
24
24
25
25
logging .basicConfig (format = "%(levelname)s - %(message)s" , level = logging .DEBUG )
@@ -30,7 +30,7 @@ def get_platform():
30
30
31
31
download_url = (
32
32
"https://github.com/naveen521kk/pango-build/releases"
33
- f"/download/v{ PANGO_VERSION } /pango-build-win { plat } .zip"
33
+ f"/download/v{ PANGO_VERSION } /pango-v { PANGO_VERSION } - { plat } .zip"
34
34
)
35
35
final_location = Path (r"C:\cibw\vendor" )
36
36
download_location = Path (tempfile .mkdtemp ())
@@ -52,7 +52,7 @@ def get_platform():
52
52
logging .info ("Completed Extracting." )
53
53
logging .info ("Moving Files accordingly." )
54
54
55
- plat_location = download_location
55
+ plat_location = download_location / f"pango- { plat } "
56
56
for src_file in plat_location .glob ("*" ):
57
57
logging .debug (f"Moving { src_file } to { final_location } ..." )
58
58
shutil .move (str (src_file ), str (final_location ))
You can’t perform that action at this time.
0 commit comments