Skip to content

Commit

Permalink
fix busted build when installing wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Jul 2, 2024
1 parent 24ce32a commit 953fee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdm_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def generate_docstubs():
class Hook(BuildHookInterface):
@override
def pdm_build_update_files(self, context: Context, files: dict[str, Path]):
if context.target == "wheel":
if context.target not in {"editable", "wheel"}:
return
npm_package_dir = Path("packages/pyright")
pypi_package_dir = Path("basedpyright")
Expand Down

0 comments on commit 953fee1

Please sign in to comment.