Skip to content

Commit e6c7d8c

Browse files
committed
More build wheel
1 parent 617c154 commit e6c7d8c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tasks.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,18 @@ def deps(c, system=False):
108108
if "uv" in line:
109109
print("Removing uv from dev-requirements.txt for win-arm64")
110110
continue
111+
if "robotframework-crypto" in line:
112+
print(
113+
"Removing robotframework-crypto from dev-requirements.txt for win-arm64"
114+
)
115+
continue
116+
if "rellu" in line:
117+
print("Removing rellu from dev-requirements.txt for win-arm64")
118+
continue
111119
lines.append(line)
112120
Path("Browser/dev-requirements.txt").open("w").writelines(lines)
113121
package_manager_dev_cmd = f"pip install -r Browser/dev-requirements.txt"
114-
package_manager_deps_cmd = f"pip install -r pyproject.toml"
122+
package_manager_deps_cmd = f"pip install ."
115123
if IN_CI and package_manager == "uv":
116124
print(f"Install packages to Python found from {sys.executable}.")
117125
package_manager_dev_cmd = f"{package_manager_dev_cmd} --python {sys.executable}"
@@ -121,7 +129,7 @@ def deps(c, system=False):
121129
c.run(package_manager_dev_cmd)
122130
print("Install package dependencies.")
123131
c.run(package_manager_deps_cmd)
124-
if os.environ.get("CI"):
132+
if IN_CI:
125133
shutil.rmtree(str(NODE_MODULES), ignore_errors=True)
126134

127135
if _sources_changed([ROOT_DIR / "./package-lock.json"], npm_deps_timestamp_file):

0 commit comments

Comments
 (0)