Skip to content

Latest commit

Β 

History

History
64 lines (49 loc) Β· 1.74 KB

README.md

File metadata and controls

64 lines (49 loc) Β· 1.74 KB

schroot-build-package

build License: GPL v3

This project is an opinionated alternative rewrite of sbuild with python.

βœ… Installation

From PYPI (when it will be uploaded):

pip install schroot-build-package

From source:

pip install https+git://github.com/kiniou/schroot-build-package

βš™ Usage

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

πŸ‘¨β€πŸ’» Hacking

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:

  1. Create your python3 virtualenv:
$ python -m virtualenv -p $(which python3) .venv
  1. Activate your fresh virtualenv:
$ . .venv/bin/activate
  1. 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]"