Skip to content

Commit

Permalink
lease version 0.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
monobot committed Mar 3, 2019
1 parent ee81ee6 commit d9d9f39
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 14 deletions.
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
History
=======

0.4.6 (2019-3-3)
* Mismatched versions fixed.

0.4.5 (2019-3-3)
* enrich docstrings, better documentation, clean up Makefiles.

0.4.4 (2019-1-13)
* requirements update

Expand Down
34 changes: 24 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.PHONY: clean clean-test clean-pyc clean-build docs help
.DEFAULT_GOAL := help

define PRINT_HELP_PYSCRIPT
Expand All @@ -12,30 +11,40 @@ for line in sys.stdin:
endef
export PRINT_HELP_PYSCRIPT

.PHONY: help
help: ## shows the help menu
help:
@python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)

clean: ## remove all build, test, coverage and Python artifacts
clean-build clean-pyc clean-test

.PHONY: clean-build
clean-build: ## remove build artifacts
clean-build:
rm -fr build/
rm -fr dist/
rm -fr .eggs/
find . -name '*.egg-info' -exec rm -fr {} +
find . -name '*.egg' -exec rm -f {} +

.PHONY: clean-pyc
clean-pyc: ## remove Python file artifacts
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +

.PHONY: clean-test
clean-test: ## remove test and coverage artifacts
clean-test:
rm -fr .tox/
rm -f .coverage
rm -fr htmlcov/

.PHONY: clean
clean: ## remove all build, test, coverage and Python artifacts
clean: clean-build clean-pyc clean-test

.PHONY: lint
lint: ## check style with black code style
black --check asyncorm

Expand All @@ -46,30 +55,35 @@ test-all: ## run tests on every Python version with tox
tox

coverage: ## check code coverage quickly with the default Python
coverage run --source asyncorm setup.py test

coverage: coverage run --source asyncorm setup.py test
coverage report -m
coverage html
$(BROWSER) htmlcov/index.html

.PHONY: docs
docs: ## generate Sphinx HTML documentation, including API docs
docs:
rm -f docs/asyncorm.rst
rm -f docs/modules.rst
sphinx-apidoc -o docs/ asyncorm
$(MAKE) -C docs clean
$(MAKE) -C docs html

servedocs: docs ## compile the docs watching for changes
servedocs: ## compile the docs watching for changes
servedocs: docs
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .

release: clean ## package and upload a release
release: ## package and upload a release
release: clean
python setup.py sdist upload
python setup.py bdist_wheel upload

dist: clean ## builds source and wheel package
dist: ## builds source and wheel package
dist: clean
python setup.py sdist
python setup.py bdist_wheel
ls -l dist

install: clean ## install the package to the active Python's site-packages
install: ## install the package to the active Python's site-packages
install: clean
python setup.py install
2 changes: 1 addition & 1 deletion asyncorm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
asyncorm is a fully asynchronous ORM library
inspired by django's own ORM
"""
__version__ = "0.4.4"
__version__ = "0.4.6"
4 changes: 2 additions & 2 deletions examples/sanic/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
asyncorm==0.4.4
sanic==18.12.0
asyncorm>=0.4
sanic>=18.12
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.4.4
current_version = 0.4.6
commit = True
tag = True

Expand Down

0 comments on commit d9d9f39

Please sign in to comment.