Skip to content

Commit 4e05fa3

Browse files
committed
fix line length: keep < 79 char
1 parent e773f93 commit 4e05fa3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

setupext.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,13 +697,15 @@ def do_custom_build(self, env):
697697
# Freetype 2.10.0+ support static builds.
698698
msbuild_config = (
699699
"Release Static"
700-
if version.parse(LOCAL_FREETYPE_VERSION) >= version.parse("2.10.0")
700+
if version.parse(LOCAL_FREETYPE_VERSION) >=
701+
version.parse("2.10.0")
701702
else "Release"
702703
)
703704

704705
cc.spawn(["msbuild", str(sln_path),
705706
"/t:Clean;Build",
706-
f"/p:Configuration={msbuild_config};Platform={msbuild_platform}"])
707+
f"/p:Configuration={msbuild_config};"
708+
f"Platform={msbuild_platform}"])
707709
# Move to the corresponding Unix build path.
708710
(src_path / "objs" / ".libs").mkdir()
709711
# Be robust against change of FreeType version.
@@ -713,7 +715,9 @@ def do_custom_build(self, env):
713715
p for p in lib_paths
714716
if msbuild_platform in p.resolve().as_uri()
715717
]
716-
print(f"Copying {lib_path} to {src_path}/objs/.libs/libfreetype.lib")
718+
print(
719+
f"Copying {lib_path} to {src_path}/objs/.libs/libfreetype.lib"
720+
)
717721
shutil.copy2(lib_path, src_path / "objs/.libs/libfreetype.lib")
718722

719723

0 commit comments

Comments
 (0)