Skip to content

Commit

Permalink
install build package
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartManoj committed Aug 1, 2024
1 parent e1a21a3 commit 5e1c621
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opendevin/runtime/utils/runtime_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def _create_project_source_dist():
logger.info(f'Using project root: {project_root}')

# run "python -m build -s" on project_root
# install build package if not installed
subprocess.run(['python', '-m', 'pip', 'install', 'build'])
result = subprocess.run(['python', '-m', 'build', '-s', project_root])
if result.returncode != 0:
logger.error(f'Build failed: {result}')
Expand Down

0 comments on commit 5e1c621

Please sign in to comment.