Socket
Socket
Sign inDemoInstall

ybt

Package Overview
Dependencies
0
Maintainers
2
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ybt

Yet another Build Tool


Maintainers
2

Readme

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc