Skip to content

Commit

Permalink
use new nodejs-wheel-binaries package
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed May 8, 2024
1 parent ce5e40c commit d6d39c5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 29 deletions.
53 changes: 27 additions & 26 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ authors = [
{ name = "detachhead", email = "[email protected]" },
]
dependencies = [
# required by the basedpyright cli & langserver wrapper scripts
"nodejs-wheel>=20.12.2",
# required by the basedpyright cli & langserver wrapper scripts. only binaries are required (no cli)
# since the user shouldn't have a node/npm binary unknowingly added to their PATH
"nodejs-wheel-binaries>=20.12.2",
]
requires-python = ">=3.8"
readme = "README.md"
Expand All @@ -44,7 +45,8 @@ basedpyright-langserver = 'basedpyright.langserver:main'
[build-system]
requires = [
"pdm-backend",
# required for building the pyright npm package to be bundled in the pypi package:
# required for building the pyright npm package to be bundled in the pypi package.
# cli is required due to dependencies with install scripts that assume node/npm is in the path
"nodejs-wheel>=20.12.2",
]
build-backend = "pdm.backend"
Expand Down

0 comments on commit d6d39c5

Please sign in to comment.