33 lines
571 B
Markdown
33 lines
571 B
Markdown
# Build script for my book projects
|
|
|
|
## Dependencies
|
|
|
|
* python>=3.x
|
|
* python-poetry>=1.1.0
|
|
|
|
## Installation
|
|
|
|
Im lokalen `bookbuild`-Repository (Development):
|
|
|
|
```bash
|
|
$ poetry build
|
|
$ poetry install
|
|
```
|
|
|
|
In einem `book`-Repository und nur auf dieses begrenzt:
|
|
|
|
```bash
|
|
$ python -m venv .venv
|
|
$ source .venv/bin/activate
|
|
$ cd ~/path/to/bookbuild
|
|
$ poetry build
|
|
$ poetry install # alternativ: pip install dist/bookbuild-x.y.z-py3-none-any.whl
|
|
```
|
|
|
|
Systemweit (fkt. noch nicht):
|
|
|
|
```bash
|
|
$ pip install -e git+https://git.unterdemradar.de/tobias/bookbuild#egg=bookbuild
|
|
|
|
```
|