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.
There was an error while loading. Please reload this page.
1 parent b031afa commit f682e3fCopy full SHA for f682e3f
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