Skip to content

Commit c572131

Browse files
authored
Update windows.rst
Developers who do not already have nuget and do not need to write a nuget.config file can use this one extra command to let nuget find the python package in the official nuget repository.
1 parent 2f67a7e commit c572131

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/using/windows.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,10 +1183,6 @@ using curl or PowerShell. With the tool, the latest version of Python for
11831183
nuget.exe install python -ExcludeVersion -OutputDirectory .
11841184
nuget.exe install pythonx86 -ExcludeVersion -OutputDirectory .
11851185

1186-
Resolve error ``Unable to find package 'python'`` from a misconfigured ``nuget.config`` using::
1187-
1188-
nuget.exe sources add -Name "nuget.org" -source "https://api.nuget.org/v3/index.json"
1189-
11901186
To select a particular version, add a ``-Version 3.x.y``. The output directory
11911187
may be changed from ``.``, and the package will be installed into a
11921188
subdirectory. By default, the subdirectory is named the same as the package,
@@ -1221,6 +1217,10 @@ for the 64-bit version, `www.nuget.org/packages/pythonx86
12211217
`www.nuget.org/packages/pythonarm64
12221218
<https://www.nuget.org/packages/pythonarm64>`_ for the ARM64 version
12231219

1220+
Resolve error ``Unable to find package 'python'`` from a misconfigured ``nuget.config`` using::
1221+
1222+
nuget.exe sources add -Name "nuget.org" -source "https://api.nuget.org/v3/index.json"
1223+
12241224
Free-threaded packages
12251225
----------------------
12261226

0 commit comments

Comments
 (0)