1 Star 0 Fork 0

x-debug/pyjsonmodels

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
sloth4413 提交于 2018-03-08 16:09 . happy hack...
.PHONY: clean-pyc clean-build docs clean
help:
@echo "clean-build - remove build artifacts"
@echo "clean-pyc - remove Python file artifacts"
@echo "lint - check style with flake8"
@echo "test - run tests quickly with the default Python"
@echo "test-all - run tests on every Python version with tox"
@echo "coverage - check code coverage quickly with the default Python"
@echo "docs - generate Sphinx HTML documentation, including API docs"
@echo "release - package and upload a release"
@echo "sdist - package"
clean: clean-build clean-pyc
rm -fr htmlcov/
clean-build:
rm -fr build/
rm -fr dist/
rm -fr *.egg-info
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
lint:
flake8 pyjsonmodels tests
test:
python setup.py test
test-all:
tox
coverage:
python setup.py test
coverage html
open htmlcov/index.html
docs:
rm -f docs/pyjsonmodels.rst
rm -f docs/modules.rst
sphinx-apidoc -o docs/ pyjsonmodels
$(MAKE) -C docs clean
$(MAKE) -C docs html
open docs/_build/html/index.html
release: clean
python setup.py sdist upload
python setup.py bdist_wheel upload
dist: clean
python setup.py sdist
python setup.py bdist_wheel
ls -l dist
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/huichengip_chenxf/jsonmodels.git
git@gitee.com:huichengip_chenxf/jsonmodels.git
huichengip_chenxf
jsonmodels
pyjsonmodels
master

搜索帮助