From 0485c6353b9b014e3997e12cda39084f91eeceb7 Mon Sep 17 00:00:00 2001 From: zchn Date: Sat, 18 Jan 2025 18:14:28 -0500 Subject: [PATCH] Add 'pyproject.toml' and 'poetry.lock' to the pip package more properly so pip install git works --- build.sh | 1 - pyproject.toml | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 5bbad4bdfc93..b0c667b35f41 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 cd57a66261d5..07657e8267f7 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]