This project is an opinionated alternative rewrite of sbuild
with python.
From PYPI (when it will be uploaded):
pip install schroot-build-package
From source:
pip install https+git://github.com/kiniou/schroot-build-package
Once installed, you'll be able to fire sbp
in a command line which is a group of commands that'll help you to create build environment and build your packages:
Usage: sbp [OPTIONS] COMMAND [ARGS]...
opinionated sbuild alternative
Options:
-v, --verbose / --no-verbose verbose logging
-d, --debug / --no-debug debug logging
--help Show this message and exit.
Commands:
build
schroot schroot related commands
If you want to hack this code and/or contribute with PR (β€), you can just fork this repository and use editable pip mode installation within a virtualenv:
- Create your python3 virtualenv:
$ python -m virtualenv -p $(which python3) .venv
- Activate your fresh virtualenv:
$ . .venv/bin/activate
- Install the project in editable mode:
(.venv) $ pip install -e .
Note that if you change some requirements, you'll need to update your virtualenv install as well:
pip install -U -e .
π‘ If you need more dev tools (eg. ipython), extra packages can be installed with:
pip install -e ".[dev,testing]"