Metadata-Version: 2.4
Name: batou_ext
Version: 2.4.37
Summary: A library of components for batou.
Author-email: Flying Circus <support@flyingcircus.io>
License: BSD (2-clause)
Project-URL: Homepage, https://github.com/flyingcircusio/batou_ext
Project-URL: Changelog, https://github.com/flyingcircusio/batou_ext/blob/master/CHANGES.md
Project-URL: Documentation, https://batou.readthedocs.io
Keywords: deployment
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: batou>=2.3b4
Requires-Dist: pyaml
Requires-Dist: setuptools
Requires-Dist: six
Requires-Dist: InquirerPy
Provides-Extra: test
Requires-Dist: boto3; extra == "test"
Requires-Dist: passlib>=1.7; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-mock; extra == "test"
Provides-Extra: version-select
Requires-Dist: InquirerPy; extra == "version-select"
Provides-Extra: s3-bootstrap
Requires-Dist: boto3; extra == "s3-bootstrap"
Requires-Dist: InquirerPy; extra == "s3-bootstrap"
Dynamic: license-file

# batou_ext - a library of components for batou

`batou_ext` master is now supporting Python3 and is depending on batou2. If you still want to use batou_ext with batou 1.x running Python2 you still can use the [batou1-py2](https://github.com/flyingcircusio/batou_ext/tree/batou1-py2) branch.

To add `batou_ext` to your deployment, add a like to the `requirements.txt` of your batou deployment::

```
batou_ext>=2.4
```

## Development and release process

* Changes should be accompanied with a changelog entry. Use `./changelog.sh` to create one.

* Releasing will create a tag and publishes the package to pypi. Use `./release-this.sh` to create a release.

## Bootstrapping of S3 buckets

Only applicable for administrators of the Flying Circus.

Install the `s3-bootstrap` feature:

```
batou_ext[s3-bootstrap]>=2.4.6
```

Then run

```
./appenv update-lockfile
./appenv run s3_bootstrap
```

The script will interactively walk you through the creation of
creating an [S3 bucket](https://wiki.flyingcircus.io/S3) and - if needed -
an access keypair and lifecycle rules.

On an activated virtualenv this can be tested with `python -m batou_ext.s3_bootstrap`.
