Skip to content

Commit 4ee124c

Browse files
committed
fix install
1 parent e956e69 commit 4ee124c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Diff for: pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ dependencies = [
2525
"semver >=2, <3",
2626
"twine",
2727
"pre-commit",
28+
# required by some packages during install
29+
"setuptools",
2830
]
2931

3032
[tool.hatch.envs.default.scripts]

Diff for: src/py/reactpy/pyproject.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ dependencies = [
3434
"colorlog >=6",
3535
"asgiref >=3",
3636
"lxml >=4",
37+
# required by some packages during install
38+
"setuptools",
3739
]
3840
[project.optional-dependencies]
3941
all = ["reactpy[starlette,sanic,fastapi,flask,tornado,testing]"]
@@ -92,8 +94,8 @@ dependencies = [
9294
"jsonpointer",
9395
]
9496
[tool.hatch.envs.default.scripts]
95-
test = "playwright install && pytest {args:tests}"
96-
test-cov = "playwright install && coverage run -m pytest {args:tests}"
97+
test = "playwright install chromium && pytest {args:tests}"
98+
test-cov = "playwright install chromium && coverage run -m pytest {args:tests}"
9799
cov-report = [
98100
# "- coverage combine",
99101
"coverage report",

0 commit comments

Comments
 (0)