chore: update build script paths

This commit is contained in:
aclist committed 2026-05-19 18:25:29 +09:00
1 parent fb36425083
commit fc7f1d7815
2 files changed
+2 -2

No files matched your search

-1
View File
@@ -11,4 +11,3 @@ uv.lock
.coverage
pyapp-latest/
dist/
cpython
+2 -1
View File
@@ -9,6 +9,7 @@ root = Path(__file__).resolve().parents[1]
output = root.joinpath("dist")
pyapp_dir = root.joinpath("pyapp-latest")
cpython = root.joinpath("build/cpython/airgapped.tar.gz")
builder = build.ProjectBuilder(root)
wheel = builder.build("wheel", output_directory=output)
@@ -33,7 +34,7 @@ env["PYAPP_PASS_LOCATION"] = "true"
env["PYAPP_SKIP_INSTALL"] = "true"
env["PYAPP_DISTRIBUTION_EMBED"] = "true"
env["PYAPP_FULL_ISOLATION"] = "true"
env["PYAPP_DISTRIBUTION_PATH"] = "cpython/airgapped.tar.gz"
env["PYAPP_DISTRIBUTION_PATH"] = cpython
env["PYAPP_DISTRIBUTION_PYTHON_PATH"] = "python/bin/python3"
proc = subprocess.run(["cargo", "build", "--release"], env=env, cwd=pyapp_dir)