Skip to content

Commit

Permalink
Add 'pyproject.toml' and 'poetry.lock' to the pip package more proper…
Browse files Browse the repository at this point in the history
…ly so pip install git works
  • Loading branch information
zchn authored and Kevin Chen committed Feb 6, 2025
1 parent ca94dea commit 0485c63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
set -e

cp pyproject.toml poetry.lock openhands
poetry build -v
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ license = "MIT"
readme = "README.md"
repository = "https://github.com/All-Hands-AI/OpenHands"
packages = [
{ include = "openhands/**/*" }
{ include = "openhands/**/*" },
{ include = "pyproject.toml", to = "openhands" },
{ include = "poetry.lock", to = "openhands" }
]

[tool.poetry.dependencies]
Expand Down

0 comments on commit 0485c63

Please sign in to comment.