Skip to main content

Yet another Build Tool

Project description

Travis CI status AppVeyor CI status

YaBT: Yet another Build Tool

Install

Requires Python 3.8 or above, so make sure you have it (type -P python3 && python3 -V).

sudo apt-get install -y python3-dev python3-pip
sudo pip3 install --upgrade pip
sudo pip3 install ybt

To configure bash tab-completion, add the following line to your .bashrc:

eval "$(register-python-argcomplete ybt)"

Development

Requires Python 3.8 or above, so make sure you have it (type -P python3 && python3 -V).

Recommended with virtualenvwrapper.

Initial virtualenv setup with virtualenvwrapper (when no virtualenv is active, run deactivate to make sure):

sudo apt-get install -y python3-dev python3-pip
mkvirtualenv --python="$( type -P python3 )" yabt
cd $WORKON_HOME/yabt
git clone git@github.com:resonai/ybt.git
cd ybt
# install development requirements
pip install -r requirements.txt
# install YaBT itself in local dev mode (in the virtualenv)
pip install -e .

You should be good to go now.

Try by running unit tests or manual test cases:

workon yabt
cd $WORKON_HOME/yabt/yabt
# Run unit tests:
make test
# Some manual tests:
cd tests/dag
ybt tree
ybt build
cd ../simple
ybt tree
# this one requires a running Docker engine,
# and the current user to be a member of the docker group
ybt build

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ybt-0.3.79.tar.gz (95.0 kB view details)

Uploaded Source

File details

Details for the file ybt-0.3.79.tar.gz.

File metadata

  • Download URL: ybt-0.3.79.tar.gz
  • Upload date:
  • Size: 95.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for ybt-0.3.79.tar.gz
Algorithm Hash digest
SHA256 4967eef2012c8c961f9d38fc445617d8023b1203d39e52a75f9c0f2985735ed0
MD5 dca1751ad9f655ed59b9e4fdc90550da
BLAKE2b-256 02ff316994d6ce87a920d169e4578dbf7d189ade4145768d36e97d42c020edd0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page