跳转到主要内容

另一个构建工具

项目描述

Travis CI status AppVeyor CI status

YaBT: 另一个构建工具

安装

需要Python 3.8或更高版本,请确保您已安装它 (type -P python3 && python3 -V)。

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

要配置bash自动补全,请将以下行添加到您的.bashrc

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

开发

需要Python 3.8或更高版本,请确保您已安装它 (type -P python3 && python3 -V)。

建议与virtualenvwrapper一起使用。

使用virtualenvwrapper进行初始virtualenv设置(在没有活动virtualenv的情况下运行deactivate以确保)

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 .

现在您应该可以开始了。

通过运行单元测试或手动测试用例进行尝试

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

项目详情


版本历史 发布通知 | RSS源

下载文件

下载适用于您平台文件的文件。如果您不确定选择哪一个,请了解有关 安装包 的更多信息。

源代码发行版

ybt-0.3.80.tar.gz (94.8 kB 查看哈希值)

上传时间 源代码

编译发行版

ybt-0.3.80-py3-none-any.whl (139.4 kB 查看哈希值)

上传时间 Python 3

由以下支持