From cebbca9e63f226aa4ed65d95f9228633310e997d Mon Sep 17 00:00:00 2001 From: Ashwin Naren Date: Sat, 22 Feb 2025 20:13:04 -0800 Subject: [PATCH] cargo-packager config Signed-off-by: Ashwin Naren --- Cargo.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 55cc12033..b27e3157d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -91,6 +91,21 @@ rev = "2024.02.14" [package.metadata.vcpkg.target] x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md", dev-dependencies = ["openssl" ] } +[package.metadata.packager] +before-packaging-command = "cargo build --release --features ssl,sqlite,jit" +product-name = "RustPython" +identifier = "com.rustpython.rustpython" +description = "An open source Python 3 interpreter written in Rust" +homepage = "https://rustpython.github.io/" +license_file = "LICENSE" +authors = ["RustPython Team"] +publisher = "RustPython Team" +resources = ["LICENSE", "README.md", "Lib"] +icons = ["32x32.png"] + +[package.metadata.packager.nsis] +installer_mode = "both" + [workspace] resolver = "2" members = [