{
  "$schema": "https://raw.githubusercontent.com/conda/menuinst/refs/heads/main/menuinst/data/menuinst.schema.json",
  "menu_name": "Sys.Prefix {{ DISTRIBUTION_NAME }}",
  "menu_items": [
    {
      "name": "Sys.Prefix",
      "description": "This will install to Windows and Linux with default options. MacOS has a custom option.",
      "icon": null,
      "command": [
        "{{ PYTHON }}",
        "-c",
        "import sys; print(sys.prefix)"
      ],
      "activate": false,
      "platforms": {
        "win": {
          "command": [
            "{{ PYTHON }}",
            "-c",
            "import sys; f = open(r'__OUTPUT_FILE__', 'w'); f.write(sys.prefix); f.close()"
          ],
          "description": "Note how __OUTPUT_FILE__ is using raw-strings. Otherwise the backslashes are not properly escaped."
        },
        "linux": {},
        "osx": {
          "CFBundleName": "Sys Prefix"
        }
      }
    }
  ]
}
