Skip to content

Commit

Permalink
Use correct default pyproject dir
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromNVIDIA committed Mar 26, 2024
1 parent 6608caa commit a298749
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rapids_build_backend/impls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a298749

Please sign in to comment.