Skip to content

Commit

Permalink
Reformat setup.py using black
Browse files Browse the repository at this point in the history
  • Loading branch information
mhammond authored and Avasam committed May 28, 2024
1 parent 655a877 commit 4f9f958
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,11 +634,12 @@ def build_extensions(self):
# typical path on newer Visual Studios
# prefere corresponding version but accept different version
same_version = vcverdir is not None and os.path.isdir(
vcbase[: m.start()] + r"\VC\Redist\MSVC\{}{}".format(
vcverdir, self.plat_dir
))
vcbase[: m.start()]
+ r"\VC\Redist\MSVC\{}{}".format(vcverdir, self.plat_dir)
)
redist_globs.append(
vcbase[: m.start()] + r"\VC\Redist\MSVC\{}{}\*\mfc140u.dll".format(
vcbase[: m.start()]
+ r"\VC\Redist\MSVC\{}{}\*\mfc140u.dll".format(
vcverdir if same_version else "*\\", self.plat_dir
)
)
Expand Down

0 comments on commit 4f9f958

Please sign in to comment.