Skip to content

Commit 85db427

Browse files
authored
Merge pull request #268 from t3476/master
Let nuget update itself such that it finds newer dependencies correctly.
2 parents 998507c + d969ceb commit 85db427

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ def _install_packages(self):
229229
nuget = "mono %s" % nuget
230230
use_shell = True
231231

232+
cmd = "%s update -self" % nuget
233+
self.announce("Updating NuGet: %s" % cmd)
234+
check_call(cmd, shell=use_shell)
235+
232236
cmd = "%s restore pythonnet.sln -o packages" % nuget
233237
self.announce("Installing packages: %s" % cmd)
234238
check_call(cmd, shell=use_shell)

0 commit comments

Comments
 (0)