Metadata-Version: 2.4
Name: agentic_terminal_rss
Version: 0.1.0
Summary: An MCP which adds terminal capablities to an agent.
Requires-Python: >=3.13
Description-Content-Type: text/markdown
Requires-Dist: fastmcp>=3.2.4

- `uv init`

- Do not do `uv sync`

- `pyproject.toml` is the backbone of this entire pkg:

  - change name (by default it takes the root directory name)
  - add description
  - in future when we make updates, we change the version here

- now do `uv sync`

- add dependencies:

  - `uv add fastmcp`

- Whenever we create we create a `src` folder in the root.

  - in this `src` folder, we create `__init__.py` which signifies `src` is a **pkg** not a normal folder.

- Ideally the folder (inside `src`) containing the pkg logic should be named same as pkg-name written in `pyproject.toml` name field. This folder should also contain `__init__.py` file.

- Following commands should be added to `pyproject.toml` to make the pkg work seamlessly:

  - Build commands

  ```
  [build-system]
  requires = ["setuptools>=42", "wheel"]
  build-backend = "setuptools.build_meta"
  ```

  - Locating folder for the pkg

  ```
  [tool.setuptools.packages.find]
  where = ["src"]
  ```

  - Which file to run when pkg is called

  ```
  [projecct.scripts]
  agentic_terminal = "agentic_terminal.main:main"
  ```

- After all of the above is done: `uv build` (creates `.whl` and `.tar` files in `dist` folder)

- if we do not wish to deploy, we can share the `.whl` file.

- to test it now locally, we can do `uv pip install whl_file_path` to install the `agentic_terminal` in our venv and use it as a library.

- add pypi token as env variable in terminal: `$env:UV_PUBLISH_TOKEN="token"` then `uv publish`
