Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c97a81 + f682e3f commit 0863a61Copy full SHA for 0863a61
pythonnet/setup.py
@@ -175,19 +175,9 @@ def _install_packages(self):
175
nuget = "mono %s" % nuget
176
use_shell = True
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
183
-
184
- packages_cfg = os.path.join("src", dir, "packages.config")
185
- if not os.path.exists(packages_cfg):
186
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)
+ cmd = "%s restore pythonnet.sln -o packages" % nuget
+ self.announce("Installing packages: %s" % cmd)
+ check_call(cmd, shell=use_shell)
191
192
193
class PythonNET_InstallLib(install_lib):
0 commit comments