diff --git a/setup.py b/setup.py index 880fdd7fd..80028ccef 100644 --- a/setup.py +++ b/setup.py @@ -229,6 +229,10 @@ def _install_packages(self): nuget = "mono %s" % nuget use_shell = True + cmd = "%s update -self" % nuget + self.announce("Updating NuGet: %s" % cmd) + check_call(cmd, shell=use_shell) + cmd = "%s restore pythonnet.sln -o packages" % nuget self.announce("Installing packages: %s" % cmd) check_call(cmd, shell=use_shell)