Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Tower supports several optional features that can be installed as needed:
#### AI/LLM Support

```bash
pip install tower[ai]
pip install "tower[ai]"
```

Provides integration with language models through:
Expand All @@ -61,7 +61,7 @@ Provides integration with language models through:
#### Apache Iceberg Support

```bash
pip install tower[iceberg]
pip install "tower[iceberg]"
```

Provides Apache Iceberg table support:
Expand All @@ -72,7 +72,7 @@ Provides Apache Iceberg table support:
#### Install All Optional Features

```bash
pip install tower[all]
pip install "tower[all]"
```

#### Check Available Features
Expand Down
6 changes: 3 additions & 3 deletions src/tower/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
including running apps locally or in the Tower cloud.

Optional features:
- AI/LLM support: Install with `pip install tower[ai]`
- Apache Iceberg support: Install with `pip install tower[iceberg]`
- All features: Install with `pip install tower[all]`
- AI/LLM support: Install with `pip install "tower[ai]"`
- Apache Iceberg support: Install with `pip install "tower[iceberg]"`
- All features: Install with `pip install "tower[all]"`
"""

from ._client import (
Expand Down
8 changes: 4 additions & 4 deletions src/tower/_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
Tower supports optional features that require additional dependencies.
These can be installed using pip:

pip install tower[ai] # For AI/LLM features
pip install tower[iceberg] # For Apache Iceberg table support
pip install tower[all] # For all optional features
pip install "tower[ai]" # For AI/LLM features
pip install "tower[iceberg]" # For Apache Iceberg table support
pip install "tower[all]" # For all optional features
"""

import importlib.util
Expand Down Expand Up @@ -121,7 +121,7 @@ def override_get_attr(name: str) -> Any:
raise ImportError(
f"This requires the '{feature}' feature and the following dependencies: {deps}.\n"
f"You are missing these packages: {missing}\n"
f"Install with: pip install tower[{feature}]"
f'Install with: pip install "tower[{feature}]"'
)

# Check if module is already cached
Expand Down
Loading