Metadata-Version: 2.3
Name: poetry-plugin-ivcap
Version: 0.1.0
Summary: A custom Poetry command for IVCAP deployments
License: MIT
Author: Max Ott
Author-email: max.ott@csiro.au
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: humanize (>=4.12.3,<5.0.0)
Requires-Dist: pydantic (>=2.11.5,<3.0.0)
Description-Content-Type: text/markdown

# poetry-plugin-ivcap

A custom Poetry plugin that adds a `poetry ivcap` command for local and Docker-based deployments.

## Example Configuration

Add to your `pyproject.toml`:

```toml
[tool.poetry-plugin-ivcap]
default_target = "docker"
docker_tag = "myapp:dev"
```

## Installation

```bash
poetry self add poetry-plugin-ivcap
```

## Usage

```bash
poetry ivcap
poetry ivcap docker
```

## Development

### Build the Plugin Package

```bash
poetry build
```

This creates .whl and .tar.gz files in the dist/ directory.

### Publish to PyPI

Create an account at https://pypi.org/account/register/

Add your credentials:
```bash
poetry config pypi-token.pypi <your-token>
```

Publish:
```bash
poetry publish --build
```

### Optional: Test on TestPyPI First

To verify your setup without publishing to the real PyPI:

```bash
poetry config repositories.test-pypi https://test.pypi.org/legacy/
poetry publish -r test-pypi --build
```

Then test installing via:

```bash
poetry self add --source test-pypi poetry-plugin-deploy
```

