diff --git a/Makefile b/Makefile index b725978..20c8044 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ ifneq ($(shell test $(PYTHON_VERSION_MAJOR) -ge 3 -a $(PYTHON_VERSION_MINOR) -ge endif -.PHONY: pybinding venv doc clean +.PHONY: pybinding install devel venv doc clean pybinding: @@ -29,6 +29,11 @@ install: venv @+$(MAKE) -C src frontend @. $(VENV_PATH)/bin/activate && pip install src/dist/msspec-$(VERSION).tar.gz +devel: venv + @+$(MAKE) -C src pybinding + @+$(MAKE) -C src frontend + @. $(VENV_PATH)/bin/activate && pip install -e src/ + venv: virtualenv --python=$(PYTHON_EXE) --prompt="(msspec-$(VERSION)) " $(VENV_PATH) . $(VENV_PATH)/bin/activate && pip install --upgrade pip && pip install -r src/pip.freeze