Merge branch 'master' into develop
This commit is contained in:
16
Makefile
16
Makefile
@ -1,4 +1,4 @@
|
||||
# Generated by Medikit 0.7.1 on 2019-05-16.
|
||||
# Generated by Medikit 0.7.2 on 2019-06-01.
|
||||
# All changes will be overriden.
|
||||
# Edit Projectfile and run “make update” (or “medikit update”) to regenerate.
|
||||
|
||||
@ -30,7 +30,7 @@ SPHINX_BUILDDIR ?= $(SPHINX_SOURCEDIR)/_build
|
||||
SPHINX_AUTOBUILD ?= $(PYTHON_DIRNAME)/sphinx-autobuild
|
||||
MEDIKIT ?= $(PYTHON) -m medikit
|
||||
MEDIKIT_UPDATE_OPTIONS ?=
|
||||
MEDIKIT_VERSION ?= 0.7.1
|
||||
MEDIKIT_VERSION ?= 0.7.2
|
||||
|
||||
.PHONY: $(SPHINX_SOURCEDIR) clean format help install install-dev install-docker install-jupyter install-sqlalchemy medikit quick test update update-requirements watch-$(SPHINX_SOURCEDIR)
|
||||
|
||||
@ -43,7 +43,7 @@ else ifneq ($(QUICK),)
|
||||
@printf "Skipping \033[36m%s\033[0m because \033[36m$$QUICK\033[0m is not empty.\n" $(target)
|
||||
else
|
||||
@printf "Applying \033[36m%s\033[0m target...\n" $(target)
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U "pip ~=18.0" wheel
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U "pip ~=19.0" wheel
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U $(PYTHON_REQUIREMENTS_INLINE) -r $(PYTHON_REQUIREMENTS_FILE)
|
||||
@mkdir -p .medikit; touch $@
|
||||
endif
|
||||
@ -61,7 +61,7 @@ else ifneq ($(QUICK),)
|
||||
@printf "Skipping \033[36m%s\033[0m because \033[36m$$QUICK\033[0m is not empty.\n" $(target)
|
||||
else
|
||||
@printf "Applying \033[36m%s\033[0m target...\n" $(target)
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U "pip ~=18.0" wheel
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U "pip ~=19.0" wheel
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U $(PYTHON_REQUIREMENTS_DEV_INLINE) -r $(PYTHON_REQUIREMENTS_DEV_FILE)
|
||||
@mkdir -p .medikit; touch $@
|
||||
endif
|
||||
@ -78,7 +78,7 @@ else ifneq ($(QUICK),)
|
||||
@printf "Skipping \033[36m%s\033[0m because \033[36m$$QUICK\033[0m is not empty.\n" $(target)
|
||||
else
|
||||
@printf "Applying \033[36m%s\033[0m target...\n" $(target)
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U "pip ~=18.0" wheel
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U "pip ~=19.0" wheel
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U $(PYTHON_REQUIREMENTS_DOCKER_INLINE) -r $(PYTHON_REQUIREMENTS_DOCKER_FILE)
|
||||
@mkdir -p .medikit; touch $@
|
||||
endif
|
||||
@ -92,7 +92,7 @@ else ifneq ($(QUICK),)
|
||||
@printf "Skipping \033[36m%s\033[0m because \033[36m$$QUICK\033[0m is not empty.\n" $(target)
|
||||
else
|
||||
@printf "Applying \033[36m%s\033[0m target...\n" $(target)
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U "pip ~=18.0" wheel
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U "pip ~=19.0" wheel
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U $(PYTHON_REQUIREMENTS_JUPYTER_INLINE) -r $(PYTHON_REQUIREMENTS_JUPYTER_FILE)
|
||||
@mkdir -p .medikit; touch $@
|
||||
endif
|
||||
@ -106,7 +106,7 @@ else ifneq ($(QUICK),)
|
||||
@printf "Skipping \033[36m%s\033[0m because \033[36m$$QUICK\033[0m is not empty.\n" $(target)
|
||||
else
|
||||
@printf "Applying \033[36m%s\033[0m target...\n" $(target)
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U "pip ~=18.0" wheel
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U "pip ~=19.0" wheel
|
||||
$(PIP) install $(PIP_INSTALL_OPTIONS) -U $(PYTHON_REQUIREMENTS_SQLALCHEMY_INLINE) -r $(PYTHON_REQUIREMENTS_SQLALCHEMY_FILE)
|
||||
@mkdir -p .medikit; touch $@
|
||||
endif
|
||||
@ -125,7 +125,7 @@ format: ## Reformats the whole codebase using our standards (requires black an
|
||||
isort -rc -o mondrian -o whistle -y .
|
||||
|
||||
medikit: # Checks installed medikit version and updates it if it is outdated.
|
||||
@$(PYTHON) -c 'import medikit, pip, sys; from packaging.version import Version; sys.exit(0 if (Version(medikit.__version__) >= Version("$(MEDIKIT_VERSION)")) and (Version(pip.__version__) < Version("10")) else 1)' || $(PYTHON) -m pip install -U "pip ~=18.0" "medikit>=$(MEDIKIT_VERSION)"
|
||||
@$(PYTHON) -c 'import medikit, pip, sys; from packaging.version import Version; sys.exit(0 if (Version(medikit.__version__) >= Version("$(MEDIKIT_VERSION)")) and (Version(pip.__version__) < Version("10")) else 1)' || $(PYTHON) -m pip install -U "pip ~=19.0" "medikit>=$(MEDIKIT_VERSION)"
|
||||
|
||||
update: medikit ## Update project artifacts using medikit.
|
||||
$(MEDIKIT) update $(MEDIKIT_UPDATE_OPTIONS)
|
||||
|
||||
Reference in New Issue
Block a user