8000 Disable "nuget update -self" on installation · KLab/pythonnet@c366416 · GitHub
[go: up one dir, main page]

Skip to content

Commit c366416

Browse files
committed
Disable "nuget update -self" on installation
1 parent 4a6cebf commit c366416

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,10 @@ def _install_packages(self):
241241
nuget = "mono %s" % nuget
242242
use_shell = True
243243

244-
cmd = "%s update -self" % nuget
245-
self.announce("Updating NuGet: %s" % cmd)
246-
check_call(cmd, shell=use_shell)
244+
# Disable "nuget update -self" because latest version nuget cannot be executed by mono 4.x
245+
# cmd = "%s update -self" % nuget
246+
# self.announce("Updating NuGet: %s" % cmd)
247+
# check_call(cmd, shell=use_shell)
247248

248249
cmd = "%s restore pythonnet.sln -o packages" % nuget
249250
self.announce("Installing packages: %s" % cmd)

0 commit comments

Comments
 (0)
0