另一个构建工具
项目描述
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
项目详情
下载文件
下载适用于您平台文件的文件。如果您不确定选择哪一个,请了解有关 安装包 的更多信息。
源代码发行版
ybt-0.3.80.tar.gz (94.8 kB 查看哈希值)
编译发行版
ybt-0.3.80-py3-none-any.whl (139.4 kB 查看哈希值)
关闭
ybt-0.3.80.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 66d31e22cb36ea953d727dc3f66e3dd87048db2f04c477c9540d81524a42475e |
|
MD5 | 05c8bfdea8952a3ddaef9b43650f451a |
|
BLAKE2b-256 | 5382fc48c36179375ab8a80484789cd46bf72350b137a8a6c3e312366c92c435 |
关闭
ybt-0.3.80-py3-none-any.whl的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | a6ac1be7317ea789b814c1f77ea82c01c43d7a6ded5e087c6d2aad659689b210 |
|
MD5 | e63656ce734d94a0c698361567151e79 |
|
BLAKE2b-256 | aeb06d6a93197134f70293b0240e490c009b1a113b7907344da134cf84a37c2f |