Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix(6223): More properly add 'pyproject.toml' and 'poetry.lock' to the pip package (#6658)

zchn1c7267648327
diff --git a/build.sh b/build.sh
index 5bbad4bdfc..b0c667b35f 100755
--- a/build.sh
+++ b/build.sh
@@ -1,5 +1,4 @@
#!/bin/bash
set -e
-cp pyproject.toml poetry.lock openhands
poetry build -v
diff --git a/pyproject.toml b/pyproject.toml
index 918f166342..b9a1df2b04 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -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]