mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
use uv instead of poetry (#663)
This commit is contained in:
parent
ca95ffb63d
commit
053e2b3a74
41 changed files with 3086 additions and 7226 deletions
|
|
@ -27,7 +27,20 @@ Plano's CLI allows you to manage and interact with the Plano efficiently. To ins
|
|||
|
||||
.. tip::
|
||||
|
||||
We recommend that developers create a new Python virtual environment to isolate dependencies before installing Plano. This ensures that ``plano`` and its dependencies do not interfere with other packages on your system.
|
||||
We recommend using **uv** for fast, reliable Python package management. Install uv if you haven't already:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
|
||||
**Option 1: Install planoai with uv (Recommended)**
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ uv tool install planoai==0.4.0
|
||||
|
||||
**Option 2: Install with pip (Traditional)**
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ python -m venv venv
|
||||
|
|
@ -99,6 +112,8 @@ Run your ``flight_agent`` and ``hotel_agent`` services (see :ref:`Orchestration
|
|||
.. code-block:: console
|
||||
|
||||
$ planoai up plano_config.yaml
|
||||
# Or if installed with uv tool:
|
||||
$ uvx planoai up plano_config.yaml
|
||||
|
||||
Plano will start the orchestrator and expose an agent listener on port ``8001``.
|
||||
|
||||
|
|
@ -177,6 +192,7 @@ Step 2. Start plano with currency conversion config
|
|||
.. code-block:: sh
|
||||
|
||||
$ planoai up plano_config.yaml
|
||||
# Or if installed with uv tool: uvx planoai up plano_config.yaml
|
||||
2024-12-05 16:56:27,979 - planoai.main - INFO - Starting plano cli version: 0.1.5
|
||||
...
|
||||
2024-12-05 16:56:28,485 - planoai.utils - INFO - Schema validation successful!
|
||||
|
|
@ -253,6 +269,7 @@ Start Plano:
|
|||
.. code-block:: console
|
||||
|
||||
$ planoai up plano_config.yaml
|
||||
# Or if installed with uv tool: uvx planoai up plano_config.yaml
|
||||
2024-12-05 11:24:51,288 - planoai.main - INFO - Starting plano cli version: 0.4.0
|
||||
2024-12-05 11:24:51,825 - planoai.utils - INFO - Schema validation successful!
|
||||
2024-12-05 11:24:51,825 - planoai.main - INFO - Starting plano
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue