Instead of having to use different virtual environments for development and for each version to be used in development here we're using differnt names for each release's python package. There a pending problem here: pip replaces underscores in the package name by dashes when installing it.
20 lines
291 B
Makefile
20 lines
291 B
Makefile
EXT_DIR = src/pg
|
|
PYP_DIR = src/py
|
|
|
|
.PHONY: install
|
|
.PHONY: run_tests
|
|
|
|
install:
|
|
$(MAKE) -C $(PYP_DIR) install
|
|
$(MAKE) -C $(EXT_DIR) install
|
|
|
|
test:
|
|
$(MAKE) -C $(PYP_DIR) test
|
|
$(MAKE) -C $(EXT_DIR) test
|
|
|
|
release: install
|
|
$(MAKE) -C $(EXT_DIR) release
|
|
|
|
deploy:
|
|
echo 'not yet implemented'
|