Skip to content

Commit 4de7028

Browse files
committed
fix install process
1 parent 0319e4d commit 4de7028

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ description = "Scripts for managing the ReactPy repository"
1010
[tool.hatch.envs.default]
1111
detached = true
1212
dependencies = [
13-
"setuptools", # required by some packages during install
13+
# misc
1414
"invoke",
15+
"setuptools",
1516
# lint
1617
"black",
1718
"ruff==0.0.278", # Ruff is moving really fast, so pinning for now.

tasks.py

+1
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ def install_poetry_project(context: Context, path: Path) -> None:
447447
packages_to_install = [
448448
f"{package['name']}=={package['version']}" for package in poetry_lock["package"]
449449
]
450+
context.run("pip install setuptools") # needed by some packages during install
450451
context.run("pip install -e .")
451452
context.run(f"pip install {' '.join(packages_to_install)}")
452453

0 commit comments

Comments
 (0)