Skip to content

Commit

Permalink
fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea committed Nov 18, 2023
1 parent e956e69 commit 4ee124c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ dependencies = [
"semver >=2, <3",
"twine",
"pre-commit",
# required by some packages during install
"setuptools",
]

[tool.hatch.envs.default.scripts]
Expand Down
6 changes: 4 additions & 2 deletions src/py/reactpy/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ dependencies = [
"colorlog >=6",
"asgiref >=3",
"lxml >=4",
# required by some packages during install
"setuptools",
]
[project.optional-dependencies]
all = ["reactpy[starlette,sanic,fastapi,flask,tornado,testing]"]
Expand Down Expand Up @@ -92,8 +94,8 @@ dependencies = [
"jsonpointer",
]
[tool.hatch.envs.default.scripts]
test = "playwright install && pytest {args:tests}"
test-cov = "playwright install && coverage run -m pytest {args:tests}"
test = "playwright install chromium && pytest {args:tests}"
test-cov = "playwright install chromium && coverage run -m pytest {args:tests}"
cov-report = [
# "- coverage combine",
"coverage report",
Expand Down

0 comments on commit 4ee124c

Please sign in to comment.