Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions 16 pythonnet/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,19 +175,9 @@ def _install_packages(self):
nuget = "mono %s" % nuget
use_shell = True

for dir in os.listdir("src"):
if DEVTOOLS == "Mono" and dir == "clrmodule":
continue
if DEVTOOLS != "Mono" and dir == "monoclr":
continue

packages_cfg = os.path.join("src", dir, "packages.config")
if not os.path.exists(packages_cfg):
continue

cmd = "%s install %s -o packages" % (nuget, packages_cfg)
self.announce("Installng packages for %s: %s" % (dir, 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)


class PythonNET_InstallLib(install_lib):
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.