1 Star 0 Fork 0

sierxue/pyyaml

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 962 Bytes
一键复制 编辑 原始数据 按行查看 历史
Matt Davis 提交于 2021-11-24 16:37 . Move tests to pytest
.PHONY: build dist
PYTHON=/usr/bin/python3
TEST=
PARAMETERS=
build:
${PYTHON} setup.py build ${PARAMETERS}
buildext:
${PYTHON} setup.py --with-libyaml build ${PARAMETERS}
force:
${PYTHON} setup.py build -f ${PARAMETERS}
forceext:
${PYTHON} setup.py --with-libyaml build -f ${PARAMETERS}
install:
${PYTHON} setup.py install ${PARAMETERS}
installext:
${PYTHON} setup.py --with-libyaml install ${PARAMETERS}
test: build
PYYAML_FORCE_LIBYAML=0 ${PYTHON} -I -m pytest
testext: buildext
PYYAML_FORCE_LIBYAML=1 ${PYTHON} -I -m pytest
testall:
${PYTHON} -m pytest
dist:
@# No longer uploading a zip file to pypi
@# ${PYTHON} setup.py --with-libyaml sdist --formats=zip,gztar
${PYTHON} setup.py --with-libyaml sdist --formats=gztar
clean:
${PYTHON} setup.py --with-libyaml clean -a
rm -fr \
dist/ \
lib/PyYAML.egg-info/ \
lib/yaml/__pycache__/ \
tests/__pycache__/ \
tests/legacy_tests/__pycache__/ \
yaml/_yaml.c
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sierxue/pyyaml.git
git@gitee.com:sierxue/pyyaml.git
sierxue
pyyaml
pyyaml
main

搜索帮助

D67c1975 1850385 1daf7b77 1850385