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: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ client-integration-test: client-setup-env ## Run client integration tests
@echo "Tearing down Docker Compose services..."
@$(DOCKER) compose -f $(PYTHON_CLIENT_DIR)/docker-compose.yml down || true # Ensure teardown even if tests fail

.PHONY: client-build
client-build: client-setup-env ## Build client distribution
@echo "--- Building client distribution ---"
@$(ACTIVATE_AND_CD) && poetry build -f wheel
@echo "--- Client distribution build complete ---"

.PHONY: client-cleanup
client-cleanup: ## Cleanup virtual environment and Python cache files
@echo "--- Cleaning up virtual environment and Python cache files ---"
Expand Down
1 change: 1 addition & 0 deletions client/python/generate_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
Path("README.md"),
Path("generate_clients.py"),
Path(".venv"),
Path("dist/"),
]
EXCLUDE_EXTENSIONS = [
"json",
Expand Down
7 changes: 2 additions & 5 deletions client/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,9 @@ polaris = "cli.polaris_cli:main"

[tool.poetry]
requires-poetry = "==2.1.4"
packages = [
{ include = "polaris" },
{ include = "cli" }
]
include = [
"polaris/**"
{ path = "polaris/**", format = "wheel" },
{ path = "cli/**", format = "wheel" },
]

[tool.poetry.group.dev.dependencies]
Expand Down