Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadrian committed Jan 5, 2025
1 parent 31bd2b0 commit abd9038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def run_in_venv(venv_path, cmd, module: bool = True, cwd=None):

def setup_virtual_python_environment(tmp_dir):
venv = create_venv(tmp_dir, BUILD_VENV)
install_pip_packages(venv, ["poetry", "poetry-plugin-export", "shiv"])
install_pip_packages(venv, ["poetry>=2.0.0", "poetry-plugin-export", "shiv"])
return venv


Expand Down Expand Up @@ -211,7 +211,7 @@ def build_package(args, tmp_dir):
if __name__ == "__main__":
parser = argparse.ArgumentParser(description='Zest')
parser.add_argument("--python", type=Path, help="Path to python executable of desired version.", required=True)
parser.add_argument("--output-path", type=Path, help="Output path")
parser.add_argument("--output-path", type=Path, help="Output path", required=True)
parser.add_argument('--verbose', '-v', action='store_true', help="Enable debug output")

version_parser = parser.add_mutually_exclusive_group(required=True)
Expand Down

0 comments on commit abd9038

Please sign in to comment.