Metadata-Version: 2.4
Name: poly-hammer-build-tool
Version: 1.0.2
Summary: A CLI that allows users to pull down and build the dependencies needed to compile tools created by the Poly Hammer Team.
Author-email: Poly Hammer <info@polyhammer.com>
License-Expression: MIT
License-File: LICENSE.md
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# Poly Hammer Build Tool

[![Tests](https://github.com/poly-hammer/poly-hammer-build-tool/actions/workflows/tests.yaml/badge.svg)](https://github.com/poly-hammer/poly-hammer-build-tool/actions/workflows/tests.yaml)
[![Release](https://github.com/poly-hammer/poly-hammer-build-tool/actions/workflows/release.yaml/badge.svg)](https://github.com/poly-hammer/poly-hammer-build-tool/actions/workflows/release.yaml)

The Poly Hammer Build Tool is a CLI that allows users to pull down dependencies and compile the libraries needed for our products on their own hardware or VMs.

## Installation

Run the latest version instantly with [uv](https://docs.astral.sh/uv/):

```
uvx poly-hammer-build-tool --help
```

Or install it persistently:

```
uv tool install poly-hammer-build-tool
hammer --help
```

## Usage

```
hammer --help
hammer build --github-token <GH_PAT> --product-id <PRODUCT_ID>
hammer deploy --github-token <GH_PAT> --repo <OWNER/REPO> --product-id <PRODUCT_ID>
```

## Development

```
uv sync --all-groups
uv run python -m hammer --help
```

## Releasing

Releases are triggered by git tags:

- **Production**: Push a tag like `v0.8.2` → builds platform wheels → publishes to PyPI
- **Pre-release**: Push a tag like `v0.8.2-rc.1` → builds platform wheels → publishes to TestPyPI
