diff --git a/Makefile b/Makefile index d1ac7238..b9a93913 100644 --- a/Makefile +++ b/Makefile @@ -16,3 +16,27 @@ devtest: # Unit testing with the -x option, aborts testing after first failure # Useful for development when tests are long py.test -x --pyargs cloudknot --cov-report term-missing --cov=cloudknot + +clean: clean-build clean-pyc clean-test ## remove all build, test, coverage and Python artifacts + +clean-build: ## remove build artifacts + rm -fr build/ + rm -fr dist/ + rm -fr .eggs/ + find . -name '*.egg-info' -exec rm -fr {} + + find . -name '*.egg' -exec rm -f {} + + +clean-pyc: ## remove Python file artifacts + find . -name '*.pyc' -exec rm -f {} + + find . -name '*.pyo' -exec rm -f {} + + find . -name '*~' -exec rm -f {} + + find . -name '__pycache__' -exec rm -fr {} + + +release: dist ## Package and upload a release + twine upload dist/* + +dist: clean ## Build source and wheel package + python setup.py sdist + python setup.py bdist_wheel + ls -l dist + diff --git a/cloudknot/version.py b/cloudknot/version.py index c18fd0b9..d8fd0c12 100644 --- a/cloudknot/version.py +++ b/cloudknot/version.py @@ -4,10 +4,10 @@ # Format expected by setup.py and doc/source/conf.py: string of form "X.Y.Z" _version_major = 0 -_version_minor = 4 -_version_micro = '' # use '' for first of series, number for 1 and above -_version_extra = 'dev' -# _version_extra = '' # Uncomment this for full releases +_version_minor = 3 +_version_micro = 1 # use '' for first of series, number for 1 and above +# _version_extra = 'dev' +_version_extra = '' # Uncomment this for full releases # Construct full version string from these. _ver = [_version_major, _version_minor]