Skip to content

Commit af04661

Browse files
committed
fix deprecated output flag
1 parent 9628368 commit af04661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def _install_extensions(self):
277277
env['TERM'] = 'xterm' # ncurses 6.1 workaround
278278
try:
279279
subprocess.run(
280-
args=['dotnet', 'build', '-o', '.'], check=True,
280+
args=['dotnet', 'build', '--property:OutputPath=.'], check=True,
281281
cwd=str(self.extensions_dir),
282282
stdout=sys.stdout, stderr=sys.stderr, env=env)
283283
except Exception: # NoQA
@@ -422,7 +422,7 @@ def _compile_webhost(webhost_dir: pathlib.Path):
422422

423423
try:
424424
subprocess.run(
425-
args=['dotnet', 'build', 'WebJobs.Script.sln', '-o', 'bin'],
425+
args=['dotnet', 'build', 'WebJobs.Script.sln', '--property:OutputPath=bin'],
426426
check=True,
427427
cwd=str(webhost_dir),
428428
stdout=sys.stdout, stderr=sys.stderr)

0 commit comments

Comments
 (0)