-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use new nodejs-wheel-binaries package
- Loading branch information
1 parent
ce5e40c
commit d6d39c5
Showing
2 changed files
with
32 additions
and
29 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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" | ||
|