We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8bfd2c4 + 6dad914 commit 9a07458Copy full SHA for 9a07458
setupext.py
@@ -617,10 +617,9 @@ def do_custom_build(self, env):
617
},
618
**env,
619
}
620
- configure_ac = os.path.join(
621
- src_path, "builds", "unix", "configure.ac")
622
- if os.path.exists(os.path.join(src_path, "autogen.sh")) \
623
- and not os.path.exists(configure_ac):
+ configure_ac = Path(src_path, "builds/unix/configure.ac")
+ if ((src_path / "autogen.sh").exists()
+ and not configure_ac.exists()):
624
print(f"{configure_ac} does not exist. "
625
f"Using sh autogen.sh to generate.")
626
subprocess.check_call(
0 commit comments