1 Star 1 Fork 2

x-debug/python-docx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
BEHAVE = behave
MAKE = make
PYTHON = python
SETUP = $(PYTHON) ./setup.py
.PHONY: accept clean coverage docs readme register sdist test upload
help:
@echo "Please use \`make <target>' where <target> is one or more of"
@echo " accept run acceptance tests using behave"
@echo " clean delete intermediate work product and start fresh"
@echo " cleandocs delete intermediate documentation files"
@echo " coverage run nosetests with coverage"
@echo " docs generate documentation"
@echo " opendocs open browser to local version of documentation"
@echo " register update metadata (README.rst) on PyPI"
@echo " sdist generate a source distribution into dist/"
@echo " upload upload distribution tarball to PyPI"
accept:
$(BEHAVE) --stop
clean:
find . -type f -name \*.pyc -exec rm {} \;
rm -rf dist *.egg-info .coverage .DS_Store
cleandocs:
$(MAKE) -C docs clean
coverage:
py.test --cov-report term-missing --cov=docx tests/
docs:
$(MAKE) -C docs html
opendocs:
open docs/.build/html/index.html
register:
$(SETUP) register
sdist:
$(SETUP) sdist
upload:
$(SETUP) sdist upload
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/huichengip_chenxf/python-docx.git
[email protected]:huichengip_chenxf/python-docx.git
huichengip_chenxf
python-docx
python-docx
master

搜索帮助