| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b031afa commit f682e3f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -175,19 +175,9 @@ def _install_packages(self): | |||
| 175 | 175 | nuget = "mono %s" % nuget | |
| 176 | 176 | use_shell = True | |
| 177 | 177 | ||
| 178 | - for dir in os.listdir("src"): | ||
| 179 | - if DEVTOOLS == "Mono" and dir == "clrmodule": | ||
| 180 | - continue | ||
| 181 | - if DEVTOOLS != "Mono" and dir == "monoclr": | ||
| 182 | - continue | ||
| 183 | - | ||
| 184 | - packages_cfg = os.path.join("src", dir, "packages.config") | ||
| 185 | - if not os.path.exists(packages_cfg): | ||
| 186 | - continue | ||
| 187 | - | ||
| 188 | - cmd = "%s install %s -o packages" % (nuget, packages_cfg) | ||
| 189 | - self.announce("Installng packages for %s: %s" % (dir, cmd)) | ||
| 190 | - check_call(cmd, shell=use_shell) | ||
| 178 | + cmd = "%s restore pythonnet.sln -o packages" % nuget | ||
| 179 | + self.announce("Installing packages: %s" % cmd) | ||
| 180 | + check_call(cmd, shell=use_shell) | ||
| 191 | 181 | ||
| 192 | 182 | ||
| 193 | 183 | class PythonNET_InstallLib(install_lib): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments