diff --git a/.gitignore b/.gitignore index 78fde29..73744d0 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,3 @@ uv.lock .coverage pyapp-latest/ dist/ -cpython diff --git a/scripts/release.py b/scripts/release.py index a672f6d..024a7f3 100644 --- a/scripts/release.py +++ b/scripts/release.py @@ -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)