Metadata-Version: 2.1
Name: bauplan
Version: 0.0.3a30
Summary: Bauplan CLI
Author: Jacopo Tagliabue
Author-email: jacopo.tagliabue@bauplanlabs.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: grpcio (>=1.59.0,<2.0.0)
Requires-Dist: opentelemetry-proto (>=1.20.0,<2.0.0)
Requires-Dist: protobuf (>=4.24.4,<5.0.0)
Requires-Dist: pyarrow (>=13.0.0,<14.0.0)
Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
Description-Content-Type: text/markdown

# Bauplan CLI

## Requirements

- [direnv](https://direnv.net/)
- [nix](https://nixos.org)
- [devenv](https://devenv.sh/)

## Package publication

### Nathan version

Currently wheel is only supported on OSX with arm64

First compile dependency binaries (the actual CLI)

```bash
$ python build.py
...
```

To build the poetry package:

```bash
$ poetry build
...
```

To publish, first bump the version, then run `publish`

```bash
$ rm -r dist/; python build.py && poetry -vvv publish -u __token__ -p pypi-blahblahblah
...
```

### Big version

Create a `.env` file on the root of the `cli` project (I have a `.env-amarone-dev` file) with:

```bash
POETRY_PYPI_TOKEN_PYPI={{ op://BauplanLabs/pypi - github-all-events-publish-bauplan/credential }}
```

Where:

- `BauplanLabs` is my Vault name
- `pypi - github-all-events-publish-bauplan` is the Key of my `API Credential` item
- `credential` is the field containing the auth token.

To build the poetry package:

```bash
make build
```

To publish, first bump the version, then run `publish`

```bash
$ make publish
...
```

