Skip to content

Commit

Permalink
fix python format
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmad Rezaii <[email protected]>
  • Loading branch information
arezaii committed Jan 29, 2025
1 parent 3b26b84 commit c2238f6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tools/chapel-py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@
chpl_lib_path = os.path.join(chpl_home, "lib", "compiler", host_bin_subdir)
# For installations using --prefix, the build and final lib paths are going to
# differ figure out the install location now and write it to the rpath
chpl_home_utils = os.path.join(
chpl_home, "util", "chplenv", "chpl_home_utils.py"
)
chpl_home_utils = os.path.join(chpl_home, "util", "chplenv", "chpl_home_utils.py")
chpl_install_lib_path = (
subprocess.check_output(
["python", chpl_home_utils, "--configured-install-lib-prefix"],
Expand Down Expand Up @@ -80,7 +78,7 @@
"-lChplFrontendShared",
]

if chpl_install_lib_path != 'None':
if chpl_install_lib_path != "None":
LDFLAGS += [
"-L{}".format(chpl_install_lib_path),
"-Wl,-rpath,{}".format(chpl_install_lib_path),
Expand Down

0 comments on commit c2238f6

Please sign in to comment.