又一个构建工具

ybt的Python项目详细描述


Travis CI statusAppVeyor CI status

yabt:又一个构建工具

安装

需要Python3.4或更高版本,因此请确保您拥有它(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)"

开发

需要Python3.4或更高版本,因此请确保您拥有它(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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java Android将字符串拆分为数组   java如何读取底层HttpServerExchange对象中的响应数据?   在jenkins上安装gitplugin时出现java错误   java DecimalFormat格式decimal,用于保留可变数量的尾随零   java Jaxws、spring和SpringBeanAutowiringSupport   Gson中抽象类的java反序列化   监视Windows服务器中的UDP数据包丢失,Java   java从侦听器调用所有者类   java Scala和Robocode类循环错误   java映像未上载到数据库   java如何将XML文件直接写入zip存档?   java为什么需要EventSourcingHandler(在聚合对象中)?   接受特定对象或其子类型的java通用方法   java Spring安全过滤器映射在特定Url模式上禁用