You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: constructor/data/construct.schema.json
+19-4Lines changed: 19 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,14 @@
35
35
"title": "ChannelRemap",
36
36
"type": "object"
37
37
},
38
+
"CondaInitialization": {
39
+
"enum": [
40
+
"classic",
41
+
"condabin"
42
+
],
43
+
"title": "CondaInitialization",
44
+
"type": "string"
45
+
},
38
46
"ExtraEnv": {
39
47
"additionalProperties": false,
40
48
"properties": {
@@ -749,14 +757,21 @@
749
757
}
750
758
],
751
759
"default": null,
752
-
"description": "Default value for the option added by `initialize_conda`. The default is true for GUI installers (EXE, PKG) and false for shell installers. The user is able to change the default during interactive installation. NOTE: For Windows, `AddToPath` is disabled when `InstallationType=AllUsers`.\nOnly applies if `initialize_conda` is true.",
760
+
"description": "Default value for the option added by `initialize_conda`. The default is true for GUI installers (EXE, PKG) and false for shell installers. The user is able to change the default during interactive installation. NOTE: For Windows, `AddToPath` is disabled when `InstallationType=AllUsers`.\nOnly applies if `initialize_conda` is not false.",
753
761
"title": "Initialize By Default"
754
762
},
755
763
"initialize_conda": {
764
+
"anyOf": [
765
+
{
766
+
"$ref": "#/$defs/CondaInitialization"
767
+
},
768
+
{
769
+
"type": "boolean"
770
+
}
771
+
],
756
772
"default": true,
757
-
"description": "Add an option to the installer so the user can choose whether to run `conda init` after the installation (Unix), or to add certain subdirectories of the installation to PATH (Windows). See also `initialize_by_default`.",
758
-
"title": "Initialize Conda",
759
-
"type": "boolean"
773
+
"description": "Add an option to the installer so the user can choose whether to run `conda init` after the installation (Unix), or to add certain subdirectories of the installation to PATH (Windows). Requires `conda` to be part of the `base` environment. Valid options:\n- `classic` or `True`: runs `conda init` on Unix, which injects a shell function in the shell profiles. On Windows, it adds `$INSTDIR`, `$INSTDIR/Scripts`, `$INSTDIR/Library/bin` to `PATH`. This is the default.\n- `condabin`: only adds `$INSTDIR/condabin` to `PATH`. On Unix, `conda>=25.5.0` is required in `base`.\n- `False`: the installer doesn't perform initialization.\nSee also `initialize_by_default`.",
0 commit comments