diff --git a/rapids_build_backend/impls.py b/rapids_build_backend/impls.py index 5be5b88..4bb2467 100644 --- a/rapids_build_backend/impls.py +++ b/rapids_build_backend/impls.py @@ -11,6 +11,7 @@ import tomli_w import yaml from rapids_dependency_file_generator.cli import generate_matrix +from rapids_dependency_file_generator.constants import default_pyproject_dir from rapids_dependency_file_generator.rapids_dependency_file_generator import ( get_requested_output_types, make_dependency_files, @@ -171,7 +172,7 @@ def _edit_pyproject(config): continue pyproject_dir = os.path.join( os.path.dirname(config.dependencies_file), - file_config.get("pyproject_dir", "."), + file_config.get("pyproject_dir", default_pyproject_dir), ) if not os.path.exists(pyproject_dir): continue