Skip to content
Merged
Changes from 1 commit
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
Next Next commit
Fixing setup.py with mono 5.0
  • Loading branch information
dsuarezv committed May 21, 2017
commit 3c553c11c824f028d388dc4893585d96036670bc
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def build_extension(self, ext):
_config = "{0}Win".format(CONFIG)

elif DEVTOOLS == "Mono":
_xbuild = "xbuild"
_xbuild = "msbuild"
_config = "{0}Mono".format(CONFIG)
else:
raise NotImplementedError(
Expand All @@ -209,7 +209,7 @@ def build_extension(self, ext):
'pythonnet.sln',
'/p:Configuration={}'.format(_config),
'/p:Platform={}'.format(ARCH),
'/p:DefineConstants="{}"'.format(','.join(defines)),
'/p:DefineConstants="{}"'.format('%3B'.join(defines)),
'/p:PythonBuildDir="{}"'.format(os.path.abspath(dest_dir)),
'/p:PythonInteropFile="{}"'.format(os.path.basename(interop_file)),
'/verbosity:{}'.format(VERBOSITY),
Expand Down