Add a devel target to the Makefile.
The "devel" target is used to install msspec in developpment mode, ie along with a clone of the git repo.
This commit is contained in:
parent
d4ed926e55
commit
82c555dd27
7
Makefile
7
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
|
||||
|
|
Loading…
Reference in New Issue