Revert use of Path.joinpath instead of Path.__div__

This commit is contained in:
Yannick Jadoul
2020-06-21 13:14:53 +02:00
parent acf5c24881
commit d552d29eae
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ def main() -> None:
# This needs to be passed on to the docker container in linux.py
os.environ['CIBUILDWHEEL'] = '1'
if not any(package_dir.joinpath(name).exists()
if not any((package_dir / name).exists()
for name in ["setup.py", "setup.cfg", "pyproject.toml"]):
print('cibuildwheel: Could not find setup.py, setup.cfg or pyproject.toml at root of package', file=sys.stderr)
exit(2)